The problem with sharing .env files
A new developer needs the environment to run the app, so someone pastes the whole .env into Slack. Now production database passwords, payment keys and signing secrets sit in a searchable channel, synced to every member's laptop and phone, for as long as the workspace exists.
Usually the other person needs some of those values, not all of them. This tool shows you which lines are sensitive before anything leaves your machine.
What it looks for
- Known key formats: Stripe, GitHub, Slack, AWS access keys, Google API keys, JWTs, private keys and more.
- Connection strings with passwords, such as
postgres://user:password@host. - Names that suggest a secret: anything with SECRET, TOKEN, PASSWORD, KEY, AUTH, DSN or DATABASE_URL.
- Values that look random: long strings mixing letters and digits.
Nothing is uploaded while you review. For each variable choose keep, blank value (the name stays so they know to fill it in) or drop. Then Send this .env once encrypts the result in your browser and gives you a link that deletes itself after it is opened.
Better habits
- Give developers their own development keys rather than copies of production ones.
- Commit a
.env.examplewith names and no values; the "Blank the secrets" button produces one. - Rotate any secret that has been pasted into chat or email.
Need fresh values? Use the API key generator. Sharing database access specifically? Read how to share database credentials. Doing this from CI? The API can create one-time links from a pipeline.