Bitwarden
lazyenv can use Bitwarden Secrets Manager as a secret store.
Authentication
Section titled “Authentication”export BITWARDEN_ACCESS_TOKEN="your-access-token"export BITWARDEN_ORGANIZATION_ID="your-org-id"Optional (self‑hosted or custom endpoints):
export BITWARDEN_API_URL="https://api.bitwarden.com"export BITWARDEN_IDENTITY_URL="https://identity.bitwarden.com"Project and environment mapping
Section titled “Project and environment mapping”Bitwarden does not have native “environments”. lazyenv encodes environments into Bitwarden Projects:
.lazyenv/config.jsonprojectIdis the base project name (example:acme)- each environment becomes a Bitwarden project named
{projectId}-{env}(example:acme-dev,acme-prod)
Bitwarden projects are auto-created on first write.
Monorepos (folder prefixing)
Section titled “Monorepos (folder prefixing)”Bitwarden secrets are flat key/value pairs, so lazyenv uses a key prefix for folders:
- folder
/uses no prefix - folder
/apps/webusesWEB__
- Bitwarden Secrets Manager permissions and project membership control access.
- If you’re migrating from another store, use
lazyenv migrate --to bitwarden.