> ## 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](https://docs.dari.dev/api-keys.md) to create keys and [Configure Provider Keys](https://docs.dari.dev/router/configure-provider-keys.md) for upstream credentials.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.