Rotate a key
Rotates the specified cryptographic key by generating a new key version and promoting it as the active signing key. The previous key is retained for validation to ensure continuity for previously issued tokens.
This operation is irreversible.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
The unique identifier of the key.
Response
The key was rotated successfully
Errors
curl -X PUT "https://your-domain.us.monocloud.com/api/keys/tXcwKNmJfReWTjVIP6Wtd/rotate" \ -H "X-API-KEY: <token>"List key materials GET
Retrieves a paginated list of active cryptographic key materials managed by the tenant. These keys may be used for signing, encryption, token issuance, or other security-related operations.
Revoke a key PUT
Revokes the specified cryptographic key, marking it as untrusted and immediately preventing it from being used for token signing or validation.