Local secrets handling
Purpose
This page describes how local secrets are handled during development.
For the overall strategy and rationale, see ADR-010 (Secrets Management Strategy).
Local development
Each repository contains a .env.example file.
To create your local configuration:
Copy
.env.exampleto.envReplace placeholder values with your local values
Keep the
.envfile on your machine only
Example:
cp .env.example .env
The .env file is ignored by Git and must never be committed to the repository.
Scope — Local development only
.env files are only intended for local development.
They must not be used for:
CI pipelines
Production deployments
Shared team environments