post
https://staging.ankatech.co/api/v3/admin/tenants//keys//rotations
Advances the Stable KID {kid} to a NEW PRIMARY material version. The kid is
FIXED — rotation does not mint a successor key; it generates a new material
version (new algorithm/spec) under the same key id and retires the previous one.
Workflow:
- Validates tenant access from JWT
- Proxies the rotation request to Core API (S2S)
- Logs administrative action in admin_audit_log
- Returns the key metadata at its advanced material version (same kid)
The new material MUST be able to serve the Stable KID's invariant purpose
(ENCRYPT_DECRYPT or SIGN_VERIFY); a cross-purpose rotation is rejected with
422 purpose-mismatch. Within the same purpose, the new material can use the
same or a different algorithm (policy permitting).
Authorization: requires scope admin.keys.rotate.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…