rotate_key
Rotate receipt-signing keys to invalidate all Compliance Receipts after a suspected key leak. Choose to rotate HMAC, Ed25519, or both.
Instructions
Rotate the receipt-signing key material (HMAC and/or Ed25519). Generates fresh keys and INVALIDATES every outstanding Compliance Receipt. Use after a suspected key leak — e.g. the .keyring was ever committed or synced. Optional mode: 'hmac' | 'ed25519' | 'both' (default 'both').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Which key(s) to rotate. Default 'both'. |