Skip to main content

Usage

Description

Prints the API key that ana login saved for your Anaconda account. Use it to:
  • Copy the key for use in CI/CD pipelines
  • Pass the key to tools that read it from an environment variable, such as Docker builds
  • Debug authentication issues
If you are not logged in, the command displays a message telling you to run ana login.
This command prints the full secret. Do not run it in an unmasked CI log or share its output.

Options

Examples

Print the API key
Use in a script