Herald
OpenapiOauth

Oidc_rotate_signing_key

POST
/api/internal/oidc/signing-key/rotate

Response Body

Signing key rotated; previous key retained through its overlap window

application/json
  1. response
message*string
newKeyId*string

kid of the newly promoted active key.

retainedUntil*string

Overlap-window deadline for the key that was just demoted (RFC3339).

retiredKeyIds*array<string>

Keys whose overlap window had already expired and were retired by this rotation's housekeeping.

Example Request
curl -X POST 'https://example.com/api/internal/oidc/signing-key/rotate'
Example Response
{
  "message": "string",
  "newKeyId": "string",
  "retainedUntil": "string",
  "retiredKeyIds": [
    "string"
  ]
}