client_id and secret for use with OAuth 2.0 client credentials grant.
You must be an Account Admin to create, delete, or rotate secrets for service accounts.
Create a Service Account
- In the Cloud.Red portal, open Settings → Service Accounts.
- Click Create.
- Enter a unique name for the service account.
- Click Confirm.
client_id and secret are displayed once. Copy the secret now — it cannot be retrieved again.
Get a Bearer Token
Use the client credentials grant to exchange yourclient_id and secret for a short-lived bearer token:
access_token. Pass it as a Bearer token in the Authorization header for subsequent API calls.
Rotate a Secret
If a secret is compromised or lost, rotate it to invalidate the old one immediately.- Open Settings → Service Accounts.
- Find the service account and click Reset Secret.
- Copy the new secret — it is shown once.
Delete a Service Account
- Open Settings → Service Accounts.
- Find the service account and click Delete.
Limits
| Limit | Value |
|---|---|
| Service accounts per account | 25 |
| Names | Must be unique within the account |
| Default role | View |
Related
- Access Control — roles and permissions
- API Reference — using the bearer token with the REST API
