API keys and access
Keys, service users, scopes, and roles.
Every API request uses an ara_ key as a bearer token. Create keys in
Settings → Ara API.
Treat keys like passwords. They are shown once. Store them in a secret manager, never in source control.
Principals
Most API keys belong to service users. A service user is a machine principal for CI, scripts, and automations.
Human users have roles in the organization. Service users have scopes on their keys.
Scopes
Use the narrowest scopes that work. There is no secret-reveal scope. Secret values are write-only.
Resolving your organization
Most resources live under /v3/organizations/{org_id}/.... Resolve the id once
and cache it.
Service user key
User session
GET /v3/self returns the service user and org.
Rotation
Rotate a service user’s key when it may have left your control. The new key is shown once. The old value cannot be recovered.