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.
Signing keys What signs which tokens, and how rotation and revocation work.
Rotate signing keys Move to a new key without any app refusing a token.
Bring your own key Sign with a key and certificate chain your organization supplies.
Capabilities
Section titled “Capabilities”Sign tokens
Section titled “Sign tokens”| Capability | What it gives you |
|---|---|
| Signing keys | A key per algorithm, ES256, RS256 and PS256, for each realm |
| Rotation | A new key published ahead of use, so no verifier is caught out |
| Revocation | Destroy a version, so nothing it signed verifies again |
| Published key set | The public keys at /oauth2/jwks, with the cache time you set |
| Bring your own key | Import your own signing key and certificate chain, once it’s turned on for your realm |
| Internal signing key | A separate key for tokens that never leave Cvyūh, which you never need to touch |
Seal data
Section titled “Seal data”| Capability | What it gives you |
|---|---|
| Storage key | A versioned key per realm that seals its stored sessions and sensitive fields |
| Request-object encryption key | A published key apps encrypt their request objects to |
| Secrets key and crypto-shredding | Destroy the realm’s secrets key, and every secret with it |
| Device certificate authority | A certificate authority per realm, beneath its parent’s, that issues the certificates enrolled devices hold |
Run them
Section titled “Run them”| Capability | What it gives you |
|---|---|
| Changes on your own authority | Every key change made with your own rights, and recorded on the audit trail |
| Keys at every site | A realm’s keys at every site that serves it |
Coming next
Section titled “Coming next”See What’s next for keys:
- Ed25519 signing: a fourth, smaller and faster signing algorithm.
- Keys in the dashboard: list, rotate and import keys from a screen.
- Read back an imported key: see the key you brought, as you imported it.