This page describes how to create and manage API tokens within the StarTree environment. API tokens provide programmatic access to StarTree resources through role-based permissions.
They consist of an access key and a secret key, formatted as st-<accessKey>-<secretKey>.
View Existing Tokens: The API Tokens screen displays a list of all existing tokens, including their description, creation date, and their assigned role.
Delete a Token: To delete an API token, locate the token in the API Tokens list, click the actions menu (three vertical dots to the right of the token description) and click Delete.
Extracting Username and Password from a StarTree Bearer Token
Certain integrations or tools require basic authentication (username and password) rather than bearer token authentication. In such cases, you can extract the equivalent username and password from your StarTree bearer token.StarTree bearer tokens are formatted as st-<accessKey>-<secretKey>.To extract the username and password:
Remove the st- prefix from the token.
The 16 characters immediately following the prefix (before the hyphen) constitute the username.
The 32 characters after the hyphen constitute the password.
Example:Given the bearer token: st-XkQBXKr652MV1VF9-5gkhGWNaGAdA1NU5yrHXRSPKMCcNRlRg
Username: XkQBXKr652MV1VF9
Password: 5gkhGWNaGAdA1NU5yrHXRSPKMCcNRlRg
Use these credentials where basic username/password authentication is required for your Pinot connection.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.