v1.0.0: Argon2id, envy run, staged audits

Never leak a secret again.

Encrypted, multi-environment secrets for your projects. Run apps without plaintext .env files, catch config drift, and find credentials already leaked in git.

$ curl -fsSL https://raw.githubusercontent.com/anastanveer653/envy/main/install.sh | sh
See envy in action
~/my-project
# Create an encrypted store for this project $ envy init Create master password: •••••••••••• Confirm master password: •••••••••••• ✓ Created .envy/store.enc ✓ Environments: development, staging, production ✓ Added .envy/ to .gitignore   # Values come from a hidden prompt, never your shell history $ envy set DATABASE_URL -e production Value for DATABASE_URL: •••••••••••••••••••• ✓ Added DATABASE_URL in production   # Run your app with secrets injected (nothing written to disk) $ envy run -e production -- npm start   # Catch config drift before it reaches production $ envy diff staging production --exit-code - FEATURE_FLAGS_URL only in staging + SENTRY_DSN only in production   # Scan every commit on every branch for leaked credentials $ envy audit ● AWS access key ID [aws-access-key-id] config/deploy.yml:12 commit 3f9c2a1b7d4e match AKIA********
Everything you need. Nothing you don't.
🔒
Argon2id + AES-256-GCM
Memory-hard key derivation (RFC 9106) and authenticated encryption. The header is authenticated too, so the file can't be tampered with or downgraded. Writes are atomic.
🌍
Multi-environment
Manage development, staging, and production secrets separately in one encrypted store. Switch with --env or ENVY_ENV.
🔍
Git Audit
Scan every commit on every branch for AWS, GitHub, Stripe, OpenAI, Anthropic and Slack tokens, private keys and committed .env files. Matches are redacted. Use --staged as a pre-commit hook.
📋
Environment Diff
Spot keys missing from one environment before they cause an incident. With --exit-code it fails your CI pipeline. Values are never printed.
▶
envy run
Start any command with secrets injected as environment variables, with no plaintext .env on disk. Import existing .env files in one step, and generate .env.example with --template.
⚡
Single Binary
One static Go binary for macOS, Linux and Windows on amd64 and arm64. No runtime, no daemon, no cloud account. Releases ship with SHA-256 checksums.
envy vs. plaintext .env files
Capability envy .env files
Encrypted and tamper-evident at rest ✓ ✗
All environments in one place ✓ ✗ one file each
Run an app without a plaintext file on disk ✓ envy run ✗
Detect missing keys between environments ✓ envy diff ✗
Find secrets already leaked in git ✓ envy audit ✗
Works offline, no account ✓ ✓

Need per-user keys, KMS integration or organisation-wide access control? Look at SOPS, dotenvx or a hosted secrets manager. envy is built for individual developers and small teams who want strong local encryption without running a service.

Get started in 30 seconds
curl -fsSL https://raw.githubusercontent.com/anastanveer653/envy/main/install.sh | sh
go install github.com/anastanveer653/envy@latest
Download envy_<version>_windows_amd64.zip from the releases page and add envy.exe to your PATH

Stop leaking secrets.

Join developers who manage their .env files the right way.