Show HN: Save and store you .env vars

Posted by pwbgerrits 5 hours ago

Counter2Comment1OpenOriginal

I built this tool for myself, and the URL in this post points to it. I needed a secure way to store my environment variables because I work on many projects across multiple devices. Keeping each variable up‑to‑date on every device was a constant hassle.

Now everything lives in a local file that I can pull and push with a simple CLI command. I never have to think about it again.

The tool is also useful when you’re hiring freelancers who need access to staging or local environment variables for testing. Instead of handing over an entire .env file, only to have it linger for months and expose keys and passwords, you can share just the specific file or variable you want (e.g., only the database URL, not the password). When you need to rotate or change anything, press the sync button and the tool updates all environments automatically.

I use it daily and rarely log in just to edit a variable or .env key; a single click does the job.

If you work with multiple projects, devices, or freelancers, give it a try. I spent a lot of time securing and encrypting the secrets so they can’t be leaked. I’d love to hear your feedback.

Comments

Comment by charanmilan 5 hours ago

Nice idea. One thing I'm always concerned about with secrets management is recovery and auditability. How are you handling encryption and access control?