How to manage a personal token
Personal Tokens allow you to authenticate your access to interfaces and tools such as the Azion CLI and Azion API.
Creating a personal token
-
Log in to Azion Console.
-
In the Account Menu on the top-right corner, represented by three horizontal lines, and select Personal Tokens.
-
Click the + Personal Token button.
-
Fill in the required fields:
- Name
- Description (optional)
- Expires within
- You can choose the token expiration date between 1, 7, 15, 30, 90 days, 1 year, or a custom date.
-
Click the Save button.
-
In the pop-up, click the visibility icon in the Personal Token field to see your token.
-
Click the Copy button to copy your token.
-
Log in to Real-Time Manager (RTM).
-
In the Account Menu on the top-right corner, represented by three horizontal lines, and select Personal Tokens.
-
Click the Add Personal Token button.
-
Fill in the required fields:
- Personal Token name
- Expires in.
- You can choose the token expiration date between 1, 7, 15, 30, 90 days, 1 year, or a custom date.
- Personal Token description (optional)
-
Click the Create Token button.
-
Click the visibility icon in the Personal Token field to see your token.
-
Click the copy token icon to copy your token.
- Run the following cURL command in your terminal, replacing
[TOKEN VALUE]
with an already existing personal token:
You can also change the name
, expires_at
, and description
fields.
Revoking a personal token
To revoke your Personal Token, proceed as follows:
- Log in to Azion Console.
- In the Account Menu on the top-right corner, represented by three horizontal lines, and select Personal Tokens.
- On the Personal Tokens page, click the three points icon on the right corner of the personal token you want to delete.
- When you click the icon, select Delete and a message will appear asking you to confirm the deletion.
- On the verification pop-up, type delete.
- Click the Delete button.
You’ll see a message confirming the deletion of your token.
- Log in to Real-Time Manager (RTM).
- In the Account Menu on the top-right corner, represented by three horizontal lines, and select Personal Tokens.
- Hover over the personal token item you want to delete and click the trash can icon.
- On the verification pop-up, type delete.
- Click the Delete button.
You’ll see a message confirming the deletion of your token.
Watch a video tutorial on how to manage a personal token on Azion’s YouTube channel: