Create an authentication token#
You can use the Aiven web console to create an authentication token for use with the Aiven command-line interface (CLI) or API. To learn more about using authentication token for Aiven resources, refer to Authentication tokens.
To create an authentication token:
Log in to the Aiven web console.
Click the user icon in the top-right corner of the page.
Click Authentication tab and scroll down to Authentication tokens.
Click the Generate token button.
Enter a description (optional) and a time limit (optional) for the token. Leave the Max age hours field empty if you do not want the token to expire.
Click Generate token.
Click the Copy icon or select and copy the access token.
Note
You cannot get the token later after you close this view.
Store the token safely and treat this just like a password.
Click Close.
You can now use the authentication token to access your Aiven resources from the CLI or API.
Note
You can create an authentication token using the Aiven CLI as well.