Access keys and API tokens
Choose between access keys and API tokens based on your requirements. Generate the keys and tokens after your decision to let tools and scripts call the Anywhere Cloud API.
- Access keys
- Consist of an access key ID (client_id) and a secret key (client_secret). You exchange the pair for a short-lived bearer token, valid for one hour by default, and use that token to call the API. The keys themselves don't expire. Use access keys for automation and tools that support client-credential authentication.
- API key tokens
- Single, long-lived API keys that you send with each API call. Use API key tokens for simple scripts and tools that accept a single API key.
For both, the secret is shown only once, when you create it. Store it in a secrets manager, never share it or commit it to a code repository, and revoke it when you no longer need it.
In both cases, secret credentials are displayed once at creation time. You must save these values securely, for example in an enterprise secrets manager. Avoid placing them in code repositories or sharing them. Immediately revoke any credentials that are no longer required.
Creating access keys
Create access and secret keys to safely connect to external tools, applications or systems and protect against unauthorized access.
Provide the Client ID of the access key when needed for external authentication.
Revoking access keys
Revoke the created access keys when you no longer need them to access external tools, applications or systems.
Update your script or application that used the access and secret keys.
Creating API key tokens
Create API credentials to safely connect to external tools, applications or systems and protect against unauthorized access.
Provide the Token ID of the API key token when needed for external authentication.
Revoking API key tokens
Revoke the created API key token when you no longer need it to authenticate with external tools, applications or systems.
Update your script or application that used the API key token.
