> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Choose the credential for each Dari workflow.

| Credential          | Use                                                       |
| ------------------- | --------------------------------------------------------- |
| Dashboard login     | Interactive account, organization, and billing workflows. |
| Management API key  | Headless CLI and management operations.                   |
| Routing API key     | Requests sent to a router endpoint.                       |
| Provider credential | Upstream model calls after Dari selects a model.          |

## Dashboard And CLI Login

```bash theme={null}
dari auth login
dari auth status
```

## Management Key

Export a Management key as `DARI_API_KEY`. Supported CLI commands use it instead of cached browser login.

```bash theme={null}
export DARI_API_KEY="dari_..."
```

## Routing Key

Use a separate Routing key from the same organization as the router:

```bash theme={null}
export DARI_ROUTING_API_KEY="dari_..."
```

See [API Keys](/api-keys) to create keys and [Configure Provider Keys](/router/configure-provider-keys) for upstream credentials.
