githubEdit

keyAPI keys

Each Spice app has two pre-generated API keys, which can be used with Spice SDKs, the HTTP API or the Apache Arrow Flight API.

View API Keys

  1. Navigate to your Spice app in the portalarrow-up-right.

  2. Click Settings in the app navigation sidebar.

  3. Under the General section, locate the API Key 1 and API Key 2 fields.

  4. Click on an API key field to copy its value to your clipboard.

Regenerate an API Key

If an API key has been compromised or you need to rotate keys, you can regenerate individual keys. Regenerating a key immediately invalidates the previous key.

  1. Navigate to your Spice app and click Settings -> General.

  2. Click the Regenerate button next to the API key you want to rotate (API Key 1 or API Key 2).

  3. Confirm the regeneration when prompted.

  4. Copy the new key and update it in your applications.

circle-exclamation

Regenerate via API

API keys can also be regenerated programmatically. See the API Keys Management API for details.

Last updated

Was this helpful?