Glossary: Building APIs with FastAPI
APIKeyHeader
A ready-made FastAPI dependency, from `fastapi.security`, that reads an API key from a named header. It answers 401 if the header is missing and adds an Authorize button to `/docs`.
Glossary: Building APIs with FastAPI
A ready-made FastAPI dependency, from `fastapi.security`, that reads an API key from a named header. It answers 401 if the header is missing and adds an Authorize button to `/docs`.