Anaconda Platform
7.0.0 is available through a limited early access program. Contact your Anaconda Technical Account Manager (TAM) if you’re interested in adopting the latest version.Creating an API Key
- Open the user dropdown and select API Keys.
- Select Create API Key.
- Provide a unique name for your API key.
-
Choose permission levels for the scopes your key should include. You can select one or both of the following:
-
User resources - Provides access to the platform’s user-level APIs. Include this scope if you need to interact programmatically with projects, data, or other assets associated with your account.
This scope mirrors your platform permissions, but doesn’t grant administrative controls.
- Platform channels - Authenticates your local conda client or automated build systems so they can use channels you have access to within Anaconda Platform. Include this scope if you need to install packages from channels hosted on your instance.
-
User resources - Provides access to the platform’s user-level APIs. Include this scope if you need to interact programmatically with projects, data, or other assets associated with your account.
-
Set an expiration date from the dropdown. API keys have a maximum lifespan of one year.
If you choose Custom, a calendar field appears. Use it to specify a date.
- Select Create API Key. Save your newly generated API key in a secure location.
Using API Keys
Once generated, you can use an API key by setting it as an environment variable in the system or process that requires platform access.Replace <API_KEY> with your API key.
Replace <API_KEY> with your API key.