Use the DevOps API to generate or revoke an application token for specific roles.
You can use the DevOps API to perform the actions which are available to you through your role permissions.
The following roles can use the application token to use the DevOps API:
- Organization Administrator
- Database Administrator
Prerequisites
- Create an application token to authenticate your service account in the DevOps API.
- Once you have authenticated your service account, you can create and revoke tokens the DevOps API.
- Get all clients within the organization:
- Create an application token for a specific client:
For more, see link:_attachments/devopsv2.html#operation/generateTokenForClient[Generate token for client] in the DevOps API.
When you remove a token, all users and roles assigned to that role will no longer have access.
- Get a list of the available client IDs and secrets for your organization:
- Remove a token for a specific client ID:
- Get a list of the available client IDs and secrets for your organization to confirm it was removed:
For more, see link:_attachments/devopsv2.html#operation/deleteTokenForClient[Revoke a token] in the DevOps API.
What’s next?
You can now use your token to connect to the Astra DB APIs. See more about the available APIs: