Programmatic REST API access to your configuration data.
A CloudTruth API Token can be used with the CloudTruth CLI and for authorization directly with the REST API. When you create an API Token, we create a Service Account automatically - this is a non-interactive User, but for purposes of access control it behaves just like a regular User. All of the actions performed with the API Token are entered into the Audit Log using this Service Account.
In the left-hand menu locate
Access Control, under which you will find
API Access Panel
Generate New Token and select the desired token permissions, provide a Token name and an optional description, then click
Generate Token. The token name cannot be changed after the token is created. The description and permissions can be updated at any time after creation from the manage token menu.
Generating an API Token
Saving the API Token
Once API tokens are created, they are treated as service accounts which behave like interactive users, so they are also are displayed in the User Directory. Permissions and access can be changed directly from each access token in the API Access page or from the User Directory menu page.
User Directory Screen
If needed, you can re-generate the access token string from
Manage API Tokenunder the token menu.
From the token menu select
Manage API Token.
Managing an API Access Token
Regenerate Tokenand copy your Access Token**.**
Regenerating an API Token
Deleting an API Token