Skip to main content

Documentation Index

Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Usage

anaconda auth api-key [OPTIONS]

Description

Prints the stored API key to stdout. Useful for:
  • Copying the key for use in CI/CD pipelines
  • Setting up non-interactive environments
  • Debugging authentication issues
If the API key has expired, the command raises TokenExpiredError. For more information, see Troubleshooting.

Options

Examples

Print the API key
anaconda auth api-key
Use in a script
export ANACONDA_AUTH_API_KEY=$(anaconda auth api-key)