Skip to main content
Both routes require a system-scoped session with sys.settings.manage. An organization-scoped token receives 403. Get a system-scoped token with Select a workspace for the _sys organization.

List signing keys

Returns the metadata of the signing keys. Raw key bytes are never returned.

Rotate

Creates a new primary key and retires the previous primary. New tokens are signed with the new key. Tokens signed with a retired key stay valid for 24 hours after the retirement.
active_count is the number of keys that currently verify tokens. A deployment that pins the signing key with MS_AUTH_JWT_SECRET_OVERRIDE follows its own rotation policy. See Security and multi-tenancy.
Last modified on October 9, 2026