Rotate a secret
Replaces every value of the secret under the same id and increments its version. Resources that reference it read the new values at their next launch, retry or restart; running workloads keep the values they started with. The new keys must include every key a live resource references. The expiry is set from the request: omit expires_at for a version that never expires.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
Body
Response
Secret metadata at its new version; values are write-only
When the secret stops resolving for new launches; null for never.
When the current version was written.
Starts at 1 and increments on every rotation.
x >= 1