Was this page helpful?
Using the ScyllaDB Cloud API requires authentication. Create a personal access token from your ScyllaDB Cloud account to authenticate requests to the API endpoints.
The privileges enforced by the token match the permissions granted to your role as a user (Admin, Maintainer, or Viewer).
If you have more than one ScyllaDB Cloud account, you need to generate a token on each account.
Sign in to ScyllaDB Cloud.
Go to Settings> Personal Tokens.
Click Generate Token.
Provide the token description and specify the expiration time (the default value is Never).
Click Create. Your personal access token will be created and displayed in a pop-up window.
Ensure you copy and save your token! It will not be displayed again after you close the pop-up.
You can create more than one token. Your tokens will be listed under Personal Tokens.
When calling a ScyllaDB Cloud API endpoint, you must provide your personal access token in the HTTP Authorization header.
Specify the token as the header value prefixed with the
Authorization: Bearer <your personal access token>
You must send your token in an authorization header each time you make an API request to ScyllaDB Cloud. For example, to list all available cloud providers, add the token to the following GET request:
curl --request GET \ --url https://api.cloud.scylladb.com/deployment/cloud-providers \ --header 'Authorization: Bearer <your personal access token>'