dotsec
.env without .env

Stop sharing secrets over Slack. Encrypt your .env, commit it to git, decrypt at runtime. Done.

🔐

Encrypted in git

Your .env becomes a .sec file — encrypted and committed alongside your code. One source of truth, version-controlled.

🧠

Decrypted in memory only

Secrets are never written to disk. Decrypted on the fly when you run your app, then gone.

🚀

Zero config

One command to start. dotsec set auto-creates an encrypted .sec file — no AWS, no cloud accounts, no setup.

🛡️

Redacted output

Accidentally logging a secret? dotsec intercepts stdout and redacts sensitive values before they hit your terminal or CI logs.

📦

Works everywhere

Available as a CLI via npm and cargo. Native Node.js bindings (@dotsec/core) for parsing and validating .env files programmatically.

Validation built in

Directives like @type, @format, @pattern, @min/@max let you enforce rules on your env vars. Shared schema files keep constraints consistent across environments.