JWT Bearer (user sessions)
Issued by Supabase Auth. Include on every request:API Key (service / agent auth)
Create in Console → Settings → API Keys. Include on every request using theAuthorization: Bearer header:
Scopes
API keys get a scope set at creation time. Scopes use theresource:action
form — bare names such as evaluate, audit, or admin are not valid scopes
and cannot be assigned to a key.
Rotating keys
To rotate an API key without service interruption:1
Create a new key
In Console → Settings → API Keys, create a new key with the same scopes as the key you are rotating.
2
Deploy the new key
Update the secret your deployment reads (for example
ATLASENT_API_KEY) to the new key and redeploy or restart the service.3
Revoke the old key
Once the new key is confirmed working, revoke the old key in the Console.