> ## 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.

# Command reference

This page lists the `anaconda auth` command group and shared concepts. Each invocable command has a dedicated reference page—select a command to view its subcommand list and descriptions.

## Commands

Command

Description

[`login`](https://anaconda.com/docs/cli-reference/anaconda-auth/commands/login)

Authenticate the CLI via browser or device flow

[`logout`](https://anaconda.com/docs/cli-reference/anaconda-auth/commands/logout)

Remove stored authentication credentials

[`whoami`](https://anaconda.com/docs/cli-reference/anaconda-auth/commands/whoami)

Display the current signed-in user

[`api-key`](https://anaconda.com/docs/cli-reference/anaconda-auth/commands/api-key)

Print the stored API key to stdout

[`token`](https://anaconda.com/docs/cli-reference/anaconda-auth/commands/token)

Manage repository tokens for Anaconda premium channels

## Concepts

<dl>
  <dt>Sites</dt>

  <dd>Credentials are stored per site. Use the `--at` option on auth commands to target a specific Anaconda domain. The `default_site` is used when `--at` is omitted.</dd>

  <dt>Credential storage</dt>

  <dd>Tokens are stored in the configured keyring (see [configuration](https://anaconda.com/docs/cli-reference/anaconda-auth/getting-started.md#configuration)).</dd>
</dl>

## Global options

Option

Description

`-V, --version`

Show version information

`-h, --help`

Show help message
