Envsecrets
Open-source, end-to-end encrypted CLI-first management of your environment secrets.
Install / Use
/learn @envsecrets/EnvsecretsREADME
envsecrets
Quickstart • Homepage • Login • Community • Twitter
envsecrets is an open-source free-forever cloud account to store your environment secrets and synchronize them with third-party services.
This tool is for you if you:
- Are currently hardcoding your secrets in your code.
- Are sharing
.envfiles over Slack or WhatsApp. - Are consuming the same set of secrets in multiple services/locations.
- Do not have any access control setup for your secrets.
- Need to version your secrets.
Security
Read our detailed data model to understand how we keep your secrets secure.
By Design
- End-to-End Encryption <br /> You are protected with public-key cryptography. Secrets are encrypted and decrypted on client side only. Never on our servers.
- Zero-Knowledge Architecture <br /> No one can see your secrets. Not even us. If our database gets hacked/leaked, attackers will never be able to decrypt your secrets.
- Multi-Factor Authentication <br /> You can enable Temporal One Time Passwords on the platform and scan the QR in any authenticator app like Google Authenticator or Authy.
By Promise
- Open Source Codebase <br /> Feel free to scan our code to establish trust.
Core Features
Amongst many hidden gems, the platform's core features include:
- Role-Based Access Control <br /> Never let your interns get access to production secrets.
- Deployment Platform Integrations - Vercel, Docker, etc. <br /> Push your secrets to the third-partry services where you consume them.
- Versioning <br /> Want to bring back a previous value? Rollback to an older version of your secret.
- Services Tokens / API Keys <br /> Securely export and consume your secrets in places where you cannot authenticate with your account password.
- CI/CD Integrations - Github Actions, Circle CI, etc. <br /> Push your secrets to the third-partry services where you are consuming them.
- Multi-Factor Authentication <br /> Activate TOTP based MFA in your account. Prevent attackers from accessing your secrets just because they got your password.
Getting Started
It is recommended you go through the quickstart guide for more detailed explaination.
Installation
Install the CLI in your system.
MacOS
brew install envsecrets/tap/envs
Linux
snap install envs
Windows Or Any Other OS Download the release binary from here.
Using w/ Local Environment
-
Change directory to the root of your project.
cd project_root/ -
Set your first secret locally.
envs set first=firstThis will save your key-value pair locally without encrypting it.
-
Get the value of a particular key.
envs get firstThis should ideally print the value of
first. -
List your locally available keys.
envs ls
Using w/ Remote Environment
- Login to your envsecrets cloud account.
- Create a new project from your dashboard.
- Now simply using the
--envflag will run theget/set/lscommands on remote environments instead of your local one. To list your keys in a remote environment calledprod, simply run:envs ls -e prod - Similarly, to get the value for key
FIRSTin the second version of yourprodenvironment secret, simply run:envs get FIRST -v 2 -e prod
Syncing w/ Third-Party Services From CLI
- Go to the integrations catalog on the platform.
- Choose any integration and go through the setup procedure described on the platform.
- Activate your connected integration on the
prodenvironment of any project in your organisation from the integrations page. - Run the following command on your terminal:
envs sync -e prod - Out of the options presented to you by the CLI, select the preferred service you want to push your secrets to.
- That's it! Go and check your service to see if the latest values have been updated.
Here is the detailed documentation on how to connect and activate every individual integration.
Need Help?
- Read the official documentation for tutorials and specifications.
- Go through the questions asked by others in this respository.
- Scan the issues in this repository.
- If you are stuck anywhere, ask our team in the community.
Feature Requests
To request enhancements or new features, you can do either of the following:
- Open a new discussion under the "features" category. Properly decribe your requirements.
- Text us in the community.
Related Skills
tmux
342.0kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
blogwatcher
342.0kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
product
Cloud-agnostic Kubernetes infrastructure with Terraform & Helm for homelabs, edge, and production clusters.
Unla
2.1k🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
