Framework support
Dotvault for FastAPI
Dotvault for FastAPI projects.
FastAPI is one of the frameworks Dotvault detects automatically. Point Dotvault at your project folder and it'll identify FastAPI from your package manifest, surface the common environment variables it uses, and give you the visual editor, snapshot history, and diff tools you need to manage them properly.
What you get
- → Automatic detection of FastAPI from your project's manifest.
- → Visual editor with syntax highlighting, validation, and smart warnings.
- → Snapshot history so you can roll back any change.
- → Diff view across environments to catch drift.
- → Works entirely on your Mac — no accounts, no cloud, no CLI required.
Known environment variables
Dotvault recognises these variables when you open a FastAPI project and surfaces helpful descriptions and warnings in the editor. FastAPI is detected via `fastapi` in requirements.txt or pyproject.toml.
-
DATABASE_URLDatabase connection URL
-
SECRET_KEYApplication secret key
-
DEBUGDebug mode toggle
-
HOSTServer bind host
-
PORTServer listen port
-
LOG_LEVELUvicorn log level
-
ALLOWED_ORIGINSComma-separated CORS allowed origins
-
REDIS_URLRedis connection URL
-
ENVIRONMENTApplication environment (development/production)
Official FastAPI docs: fastapi.tiangolo.com