Manage personal tokens
Create and delete personal tokens from Azion Console or the Azion CLI, and store the token value when you create it.
You can create and delete a personal token from Azion Console or with the Azion CLI. A personal token authenticates your requests to the Azion API and the commands you run in the CLI. To revoke a token, delete it.
Prerequisites
Console
- An Azion account. To create one, refer to Create an account.
- Access to Azion Console. To sign in, refer to How to access Azion Console.
Create a personal token
Each personal token has a name, an optional description, and an expiration. Azion shows the token value only when the token is created, so store it before you continue.
Console
To create a personal token in Azion Console:
Access Azion Console > Account > Personal Token. Account is the avatar menu.
In the General section, enter a Name that identifies the token.
In Description, enter what the token is for.
In the Token section, select a value in Expires within. The default is 1 day. The other values are:
- 7 days, 15 days, 30 days, or 90 days
- 1 year
- Custom Date, which opens a calendar to select the date
In the Personal Token has been created dialog, select Copy. The Personal Token field masks the value until you show it.
The token appears on the Personal Tokens page with its Expiration Date. After the dialog closes, the value cannot be retrieved, and a lost token must be replaced with a new one.
Delete a personal token
Deleting a personal token revokes it, and the deletion cannot be undone. Azion Console asks you to confirm the deletion with the token name, and the Azion CLI takes the token UUID.
Console
To delete a personal token in Azion Console:
Access Azion Console > Account > Personal Token. Account is the avatar menu.
In the row of the token, select Delete. The Delete personal token dialog opens.
In the box of the dialog, enter the name of the token, as the confirmation label quotes it.
The message Personal token successfully deleted appears, and the token no longer shows on the Personal Tokens page.