Account
Managing API keys
Creating, storing and revoking keys in the dashboard.
Create a key
- Open Dashboard → API keys.
- Choose Create key and name it after where it will be used, for example
staging-worker. - Copy the key from the confirmation screen. It is shown only once.
- Store it in an environment variable or a secrets manager.
Revoke a key
Revoking is permanent. Apps still using the key start receiving 401 errors. When rotating, create the new key and deploy it before revoking the old one.
What the dashboard shows
| Column | Meaning |
|---|---|
| Name | The label you chose. |
| Key | The first characters of the key, for identification. |
| Created | When the key was created. |
| Last used | The most recent request made with the key. |
| Status | Active or revoked. |
Why a key can't be shown twice
The account service is designed to store a hash of each key rather than the key itself. It can check a key you send, but it cannot display it again.