Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Create an Astra Token

Cedrick Lunven edited this page Feb 10, 2022 · 11 revisions

🏠 Back to home | Written by Cedrick Lunven, Last Update 2/10/2021

The Astra token creation procedure is also described in the reference documentation

A - Overview

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.

B - Prerequisites

C - Procedure

✅ Step 1 : Open the Organization settings panel

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

✅ Step 2: Open the token management page

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

✅ Step 3: Save the token as a CSV.

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.

D - Extra Resources