---
title: bearer_env
sidebarTitle: bearer_env
---

# `fastmcp.server.auth.providers.bearer_env`

## Classes

### `EnvBearerAuthProviderSettings`


Settings for the BearerAuthProvider.


### `EnvBearerAuthProvider`


A BearerAuthProvider that loads settings from environment variables. Any
providing setting will always take precedence over the environment
variables.

