Cipher 0.2 is here — see the new code blocks.
Sign up

API keys

How to provision, scope, and revoke keys.

~ 1 min read

Cipher distinguishes two key types.

Sandbox vs production

Key typePrefixRate limitAuto-rotate
Sandboxsk_test_100 req/minNever
Productionsk_live_Plan-dependentEvery 30 days

Scoping

Production keys can be scoped to specific operations:

bash
cipher keys create --scope encrypt:* --scope decrypt:tenant-alpha

Restrictive scopes ship with their own audit channel — useful for letting a CI runner encrypt without ever decrypting.

Last updated Edit this page
↑↓ navigate open esc close