CMEK
Start server-assisted CMEK key rotation
Re-encrypts all secrets from the old CMEK key to the new one. Keys are passed in headers (TLS-only) and exist in server memory only during the rotation. Batched in groups of 100 secrets.
Refused with 400 on the signing-key vaults (__agent-keys, __treasury-keys): a rotation rewrites ciphertext in place, which the key escrow would not pick up, leaving the escrowed copy sealed under the retired key.
post/v1/vaults/{vault_id}/cmek-rotate
Request
- Base URL: https://api.1claw.co
- URL: https://api.1claw.co/v1/vaults/{vault_id}/cmek-rotate
- Auth: HTTP bearer
Path parameters
vault_idstring uuid required
Headers
x-cmek-old-keystring required
Base64-encoded old CMEK key (32 bytes)
x-cmek-new-keystring required
Base64-encoded new CMEK key (32 bytes)
Request body
Response
Rotation job started
Changes
No recorded changes to this operation across all 2 revisions of this API.