IT lexicon › Infra & Ops › .env file

.env file dotenv

Infra & Ops På svenska → Updated: 2026-05-24

Text file with environment variables for local development: DATABASE_URL=postgres://....

Loaded by a dotenv library before the app starts. Never commit — put it in .gitignore. For production: use a secret manager (Vault, AWS Secrets Manager, Doppler) instead.

← Back to the lexicon