Replace .env Files With Infisical

Every project I’ve touched in the last decade has a .env file. Sometimes it’s .env.local. Sometimes .env.development. Sometimes it’s the same file, committed to the repo, with a # DO NOT COMMIT comment at the top. That comment has never once stopped anyone. .env files are a solved problem that everyone keeps solving badly. The file format is fine. The habit of scattering them across projects, laptops, and Docker volumes — and then treating them like source code — is where things go sideways. A committed .env is a leaked secret. A .env emailed to a new teammate is a secret with no single point of revocation. A .env that lives on your laptop for two years is a secret you’ve forgotten about. ...

July 4, 2026 · 8 min · hicke