Skip to main content

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)