A .env file usually travels between teammates in Slack DMs. Two people join the team. Someone forgets to paste the new RESEND_API_KEY. CI breaks at 2 AM. This page shows how Envshed replaces that handoff.
For teams that outgrew dotenv
A dotenv alternative that keeps .env files out of Slack and git.
dotenv loads a file, but it gives a team no way to share that file. Envshed stores the values encrypted and maps the repo in one .envshed.json at the root. envshed pull writes the .env, and the audit log records every CLI and API read.
Where dotenv stops scaling
The .env file is the source of truth, and nobody trusts it
Five copies, all slightly different. Staging has an extra key. Prod is missing one. Someone committed it to git in 2023 and the history is still there.
New hires wait days for a working local env
A new hire gets secret values over pairing calls, screenshares, and DMs, then rebuilds the file one paste at a time.
You have no idea who read what, or when
A key rotates. You cannot tell who still has the old one. No process.env read leaves a trace.
What Envshed gives you that dotenv does not
Envshed keeps the KEY=value format and adds three things. Values live in one place, encrypted at rest with AES-256-GCM. Access is granted per user, project, and environment. envshed pull writes the current values to your .env, and without --force it aborts instead of overwriting a local change.
Your dotenv workflow, rebuilt
Same .env file, pulled from Envshed instead of Slack.
# before: hunt down the latest .env in Slack cat .env # after: pull the real values for your env envshed pull envshed run -- pnpm dev
How Envshed replaces each step
One source of truth per environment
Development, staging, and production are separate environments. envshed pull --env staging writes staging values, and only for people with access to staging.
Access when someone joins
Invite a teammate to the org. They run envshed login and envshed pull in the repo, which already has .envshed.json.
Every CLI and API read is logged
The audit log records the user, IP address, user agent, and time of each read. After a rotation, you can see who pulled the new value.
What you get
- AES-256-GCM encryption at rest for every secret value
- One .envshed.json maps every package in a monorepo
- Service tokens for CI without sharing human credentials
- Per-user overrides that apply only to you
- $5 per user per month on Team, at any team size
Moving from dotenv to Envshed
Can I keep using a .env file for local dev?
Yes. envshed pull writes a .env to your working directory, and node, vite, and next read it as before. Use -f .env.local to write a different file name.
What happens to my existing .env files?
envshed init finds the .env files in each application folder and imports each one into the environment you pick. After that, delete the committed copies.
Does it work with dotenv-cli, dotenvx, Next.js, and Vite?
Yes. Envshed writes the same .env format those tools expect. You can also run your process directly with envshed run -- your-command and skip the intermediate file.
Do I still need python-dotenv or dotenv-cli?
No. envshed pull writes the file they would load, and envshed run injects values into your process, so process.env.X and os.environ['X'] work without a loader.
Move your .env values into Envshed
Sign up, pull your first secret in under 30 seconds, and delete the .env.template you never update.
Part of the Envshed.