rotate_key
Rotate an agent's Ed25519 key in planned mode with configurable overlap or emergency mode for immediate retirement. Outputs updated DID document, rotation state, and revocation results.
Instructions
Rotate an agent's Ed25519 key. Planned mode: configurable overlap (default 24h). Emergency mode: immediate old-key retirement. Returns updated DID document, rotation state, and revocation results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| old_private_key | Yes | Hex-encoded private key being rotated FROM | |
| agent_name | No | Agent name for the passport (default: current session) | |
| activation_delay_hours | No | Planned mode overlap hours (default: 24) | |
| delegation_ids_to_revoke | No | Delegation IDs to cascade-revoke during rotation |