Skip to main content
The ana auth command group manages authentication for the Anaconda CLI. Use these commands to log in, log out, check your identity, and retrieve your API key. The ana login, ana logout, and ana whoami shortcuts run the matching ana auth commands.

Commands

Concepts

Domain
Credentials are stored per Anaconda domain. ana uses anaconda.com unless you set the ANA_DOMAIN environment variable. For more information, see Configure ana.
Credential storage
API keys are stored in a keyring file at ~/.anaconda/keyring by default. To use another location, set the ANA_KEYRING_PATH environment variable.
Anaconda.org token
Anaconda.org commands use a separate token, which ana org login creates. For more information, see Logging in.

Global options