# AuthConfig

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/deploy/config/AuthConfig)

`[auth]` section — authentication provider settings.

The whole section is optional. When omitted, no `auth.py` is
generated and LangSmith Cloud's default `x-api-key` auth applies
(callers still need a LangSmith API key to reach the deployment).
To make the API genuinely open — e.g., to expose the bundled
`[frontend]` without sign-in — set `provider = "anonymous"`
explicitly.

## Signature

```python
AuthConfig(
    self,
    provider: AuthProvider,
)
```

## Constructors

```python
__init__(
    self,
    provider: AuthProvider,
) -> None
```

| Name | Type |
|------|------|
| `provider` | `AuthProvider` |


## Properties

- `provider`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/64d45f67c86edb4df2ced0e7b82f1a8fd158ec8c/libs/cli/deepagents_cli/deploy/config.py#L131)