Creating and revoking Textual API keys
Last updated
Last updated
To be able to use the Textual SDK, you must have an API key.
You manage keys from the User API Keys page.
To display the User API Keys page, in the Textual navigation menu, click User API Keys.
To create a Textual API key:
Either:
On the Textual Home page, click Create, then click API Key.
In the API keys panel on the dataset details page, click Create an API Key.
On the pipeline details page, click the API key creation icon.
On the User API Keys page, click Create API Key.
In the Name field, type a name to use to identify the key.
Click Create API Key.
Textual displays the key value, and prompts you to copy the key. If you do not copy the key and save it to a file, you will not have access to the key. To copy the key, click the copy icon.
To revoke a Textual API key, on the User API Keys page, click the Revoke option for the key to revoke.
You cannot instantiate the SDK client without an API key.
Instead of providing the key every time you call the Textual API, you can configure the API key as the value of the environment variable TONIC_TEXTUAL_API_KEY
.