API keys
Create, store, rotate, and revoke product API credentials.
Create a key
- Sign in and open API Keys.
- Select Create key.
- Give the key a name that identifies its application and environment.
- Keep the default
basicpermission unless your OrbitalsAI account has been configured differently. - Copy the full key immediately. It is shown once.
An account can have up to five active keys.
Store the key
For local development:
For production, use the secret store provided by your hosting platform. Never commit .env files containing real keys.
Rotate a key
- Create a replacement key.
- Update the secret in every service that uses the old key.
- Confirm requests succeed with the replacement.
- Revoke the old key.
There is no operation that reveals an existing full key. Create a replacement if the value is lost.
Revoke a key
Use Revoke on the API Keys page. Revocation is immediate and requests using that key will return 401.
Common mistakes
- Sending the key without the
Bearerprefix on REST requests. - Exposing the key in frontend code or source control.
- Reusing one key across development and production.
- Revoking the old key before all services have received its replacement.