rotate_key
Rotate an agent's Ed25519 key using planned mode with configurable overlap or emergency mode for immediate retirement. Get 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 | ||
| agent_name | No | Agent name for the passport (default: current session) | |
| old_private_key | Yes | Hex-encoded private key being rotated FROM | |
| activation_delay_hours | No | Planned mode overlap hours (default: 24) | |
| delegation_ids_to_revoke | No | Delegation IDs to cascade-revoke during rotation |