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

export const DefinitionDescription = ({children}) => <dd className="definition-description">{children}</dd>;

export const DefinitionTerm = ({children}) => <dt className="definition-term">{children}</dt>;

export const DefinitionList = ({children}) => <dl className="definition-list">{children}</dl>;

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

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

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Command</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>[`login`](/docs/cli-reference/anaconda-auth/commands/login)</GCell>
      <GCell>Authenticate the CLI via browser or device flow</GCell>
    </GRow>

    <GRow>
      <GCell>[`logout`](/docs/cli-reference/anaconda-auth/commands/logout)</GCell>
      <GCell>Remove stored authentication credentials</GCell>
    </GRow>

    <GRow>
      <GCell>[`whoami`](/docs/cli-reference/anaconda-auth/commands/whoami)</GCell>
      <GCell>Display the current signed-in user</GCell>
    </GRow>

    <GRow>
      <GCell>[`api-key`](/docs/cli-reference/anaconda-auth/commands/api-key)</GCell>
      <GCell>Print the stored API key to stdout</GCell>
    </GRow>

    <GRow>
      <GCell>[`token`](/docs/cli-reference/anaconda-auth/commands/token)</GCell>
      <GCell>Manage repository tokens for Anaconda premium channels</GCell>
    </GRow>
  </GBody>
</GTable>

## Concepts

<DefinitionList>
  <DefinitionTerm>Sites</DefinitionTerm>

  <DefinitionDescription>
    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.
  </DefinitionDescription>

  <DefinitionTerm>Credential storage</DefinitionTerm>

  <DefinitionDescription>
    Tokens are stored in the configured keyring (see [configuration](/docs/cli-reference/anaconda-auth/getting-started#configuration)).
  </DefinitionDescription>
</DefinitionList>

## Global options

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`-V, --version`</GCell>
      <GCell>Show version information</GCell>
    </GRow>

    <GRow>
      <GCell>`-h, --help`</GCell>
      <GCell>Show help message</GCell>
    </GRow>
  </GBody>
</GTable>
