dotenvx
dotenvx encrypts secrets stored in .env files, then decrypts and injects them when an application runs.
What dotenvx is
dotenvx encrypts secrets stored in .env files, then decrypts and injects them when an application runs. It uses public-key encryption with a secp256k1 key pair, keeping the private key separate from the encrypted file. During development, that key can be kept in an operating system secret store such as macOS Keychain, Windows Credential Manager, or Linux Secret Service. Workflow tools include environment selection and composition, validation, pre-commit leak prevention, Docker image protection, key/value operations, and runtime log redaction. The maker describes the software as free and open source; encrypted files can travel with code and be decrypted at runtime with a deployment-supplied private key, without a secrets service in the application's critical path. Guides cover programming tools, languages, and deployment services, while installation options include CLI, package managers, Docker, and GitHub releases. The free tier includes CLI, SDKs, encryption, and GitHub Issues support. Paid plans include a 14-day trial, and Armor adds team access controls and decryption auditing.
Good
- Separates the private decryption key from encrypted files
- Includes validation and pre-commit leak prevention
- Supports runtime log redaction
- Free tier includes CLI and SDKs
- Armor lists approvals and decryption auditing
Watch out
- Business costs $90 a month
- Business SSO is listed as coming soon
- SOC 2 Type 2 observation is in progress
Who it suits
dotenvx suits developers and teams that need to protect environment-file secrets across development and deployment. Its guides and integrations span many languages, coding tools, and deployment services.
Verdict
dotenvx offers a file-based approach to secret encryption with workflow tools for development and deployment. Check which paid access controls and support tier you need before choosing a plan.
Plans and prices
From dotenvx's own pricing page, checked 4 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Dotenvx User | Free | CLI · SDKs · encrypt secrets · GitHub Issues support |
| Member | $5 a month | 1 seat · unlimited keys · 250,000 included audit events · 5 days audit retention · $10/mo per additional seat · Monthly |
| Business | $90 a month | 10 seats · unlimited keys · 1,000,000 included audit events · 90 days audit retention · $90/mo per additional 10 seats · Enterprise SSO listed as coming soon · Monthly |
The facts
Each one read from dotenvx's own pages, with the date it was checked.
What it does
- Armor access controls
- Armor lists team access without sharing private keys, human approval before decryption, software-enclave decryption, and auditing of decryptions.checked 4 Oct 2026
- Compliance status
- The trust page says SOC 2 Type 2 observation is in progress and a GDPR data processing agreement is in preparation.checked 4 Oct 2026
- Deployment integrations
- Official guides cover AWS Lambda, Cloudflare, DigitalOcean, Fly, Heroku, Netlify, Railway, Render, Vercel, Docker, Docker Compose, and GitHub Actions.checked 4 Oct 2026
- Developer integrations
- Official guides cover Claude, Codex, Cursor, 1Password, Bitwarden, Node.js, Python, Ruby, Rust, PHP, Go, Java, Kotlin, Clojure, and .NET.checked 4 Oct 2026
- Encryption
- Dotenvx uses public-key encryption with a secp256k1 key pair, keeping the private decryption key separate from the encrypted .env file.checked 4 Oct 2026
- Install options
- The install documentation lists CLI installation, npm, Windows winget, Homebrew, GitHub releases, Docker, Ruby gem, and Python pip.checked 4 Oct 2026
- Intended audience
- The maker describes Dotenvx as being built for software developers and teams, including humans and coding agents.checked 4 Oct 2026
- Key storage
- For development, the private key can be stored in the operating system’s secret store, including macOS Keychain, Windows Credential Manager, and Linux Secret Service.checked 4 Oct 2026
- No central runtime dependency
- The maker says encrypted files travel with code and can be decrypted at runtime using a private key supplied in the deployment environment, without a secrets service in the application’s critical path.checked 4 Oct 2026
- Open source
- The maker describes Dotenvx as free and open source.checked 4 Oct 2026
- Purpose
- Dotenvx encrypts secrets in .env files and decrypts and injects them at runtime for applications.checked 4 Oct 2026
- Support
- The pricing table lists GitHub Issues for the free user tier, ticket support for Member and Business, and Slack support for Business.checked 4 Oct 2026
- Workflow features
- The feature list includes environment selection and composition, validation, pre-commit leak prevention, Docker image protection, key/value operations, and runtime log redaction.checked 4 Oct 2026
Money
- Armor trial
- The Armor FAQ states that the paid product has a 14-day free trial.checked 4 Oct 2026
The company
- Headquarters
- Santa Monica, California, United Stateschecked 28 Sep 2026
Alternatives to dotenvx
- 1

Envshed
Free planWebAPILinuxmacOS7.6From $5 a month - 2

Keyway
Free planWebAPILinuxmacOS7.1From €9 a month - 3
Infisical
Free planWebAPILinuxSelf-hosted7.0From $2 a month - 4

Oracle Cloud Infrastructure Secret Management
Free planWebAPI7.0Free plan - 5

secr
Free planWebAPIExtensionLinux7.0From $6 a month - 6

SikkerKey
Free planWebAPILinuxmacOS7.0From $29 a month
