Skip to content
PlatformMarkdown

Keys

The keys that sign your realm's tokens and seal its data, each realm's own, and never handed out.

Every realm has keys of its own: signing keys that make its tokens verifiable, and sealing keys that encrypt what it stores. They belong to the realm alone, and no API returns them, to you or anyone else. You decide when they change: you rotate and revoke them on your own authority, whenever you choose, and every change is recorded on the audit trail. They never rotate on their own.

The one idea to hold: a new signing key is published before it signs. Apps and APIs cache the realm’s public keys, so a rotation names a moment at least the publish lead away, and by then every verifier already holds the new key.

CapabilityWhat it gives you
Signing keysA key per algorithm, ES256, RS256 and PS256, for each realm
RotationA new key published ahead of use, so no verifier is caught out
RevocationDestroy a version, so nothing it signed verifies again
Published key setThe public keys at /oauth2/jwks, with the cache time you set
Bring your own keyImport your own signing key and certificate chain, once it’s turned on for your realm
Internal signing keyA separate key for tokens that never leave Cvyūh, which you never need to touch
CapabilityWhat it gives you
Storage keyA versioned key per realm that seals its stored sessions and sensitive fields
Request-object encryption keyA published key apps encrypt their request objects to
Secrets key and crypto-shreddingDestroy the realm’s secrets key, and every secret with it
Device certificate authorityA certificate authority per realm, beneath its parent’s, that issues the certificates enrolled devices hold
CapabilityWhat it gives you
Changes on your own authorityEvery key change made with your own rights, and recorded on the audit trail
Keys at every siteA realm’s keys at every site that serves it

See What’s next for keys: