Create an Astra Token
🏠 Back to home | Written by Cedrick Lunven, Last Update 2/10/2021
The Astra token creation procedure is also described in the reference documentation
Tokens are the way to authenticate against Astra with any given Apis or Drivers. They are created at organization level and as such can be used with multiple Databases.
When you create a token you will select a Role
that code a set of permissions. There you can limit the usage of your token for a particular database.
- You should have an Astra account
On the top left hand corner locate the panel Current Organization
with your email address. Use the chevron down ⌄ to open the menu and pick Organizations Settings
On the new page, select Token Management
in the menu. Then use the Select Roles
combo to select Organization Administrator
role. This is the administrator of your tenant with all permissions.
**Tip**: you can reach the Token Management page directly from the ellipsis menu next to your database in the main Astra dashboard. Expand to see how
The values of clientSecret
and token
will not be shown to you later for security reasons. Do not share those values and never commit them on github.
👁️ Walkthrough
You can use the clipboard icons close to each parameter to clip them and copy them elsewhere.
- A video explaining you the details of roles and privileges
- A video guiding you through the steps of creating a token.