@dotenvx/dotenvx
Advanced tools
Changelog
ext prebuild
(#501)ext precommit
to check git modified state as well as git staged state - useful for using dotenvx ext precommit
without the --install
flag in automated scripts and ci. (#499)errorvp, errorvpb, warnv, warnvp, warnvpb, successvp, successvpb, help2
(#501)Changelog
-fk
(--env-keys-file
) flag to customize the path to your .env.keys
file with run, get, set, encrypt, decrypt, and keypair
🎉 (#486)This is great for monorepos. Maintain one .env.keys
file across all your apps.
$ dotenvx encrypt -fk .env.keys -f apps/backend/.env
$ dotenvx encrypt -fk .env.keys -f apps/frontend/.env
$ tree -a .
├── .env.keys
└── apps
├── backend
│ └── .env
└── frontend
└── .env
$ dotenvx get -fk .env.keys -f apps/backend/.env
Changelog
.env.keys
file is generated WITHOUT quotes going forward. This is to minimize friction around Docker gotchas to developers - old versions of Docker do not support --env-file
containing quoted keys/values. (#480) (additional note)