A command line tool to securely and automatically manage, store environment variables.
-
Create a Private Git Repo (It can be on GitHub, GitLab, or even your own self-hosted git server), copy the Repository URL.
-
Go/
cd
to your Project Root where the .env's are located. -
Run (With npx / pnpx / yarn dlx)
npx envshh push
-
When asked, provide a simple password to encrypt the data
Congratulations! Your .envs are encrypted and securely stored in your own repo. You can now get your .envs from any device.
-
Now to after any modification / deletion of your .env, or to get back the previous .env, first Go/
cd
to your project root and runnpx envshh pull
-
When asked, provide the password to decrypt the data
Read the docs for more details.
- @sanjib-sen - Idea & Initial work