x-api-key header. There is no OAuth flow, no bearer token and no session: one header, on every call.
401 by the gateway before it reaches Cybreeze.
A key is the whole organization
A key acts as the organization that created it. It has no user behind it, no second factor, and no narrower grant: there is no read-only key and no per-resource scope today. That is why minting one is restricted.Only an organization’s owners and admins can create, disable or delete a key, through Settings → API keys in the app. Members do not see the page.
The secret is shown once
The secret is returned once, in the response that creates the key, and is stored nowhere on our side. Cybreeze keeps four things about a key:
Last-used is written at most once an hour. Read it as “this key is still in use”, not as an audit log.
Losing a secret means deleting that key and creating another. Nobody at Cybreeze can read it back to you.
Rotating a key
There is no in-place rotation, because there is nothing to rotate into: a key’s value never changes. Rotate by overlap.1
Create the replacement
Mint a second key with a label that says which deployment it is for.
2
Deploy it, and wait
Give the new key about 45 seconds to reach the gateway, then confirm it with
GET /v1/ping from the environment that will use it.3
Disable the old key
Disable rather than delete. Disable is reversible, so a caller you forgot is one click away from working again instead of locked out permanently.
4
Delete it once nothing breaks
Delete the old key when last-used stops moving and nothing has failed.
Limits on keys
- Twenty keys per organization. This is a ceiling on a creation loop, not a tier you can buy out of. If you are near it, you are probably minting one key per deploy instead of per integration.
- A new key is live after about 45 seconds. Before that the gateway answers
401 invalid_api_key. - A disable takes effect at the gateway eventually, and at Cybreeze immediately. Cybreeze checks the key against its own record on every request, so a disabled key stops working even in the window where the gateway would still accept it.