Skip to content

dotenvx

Encrypt .env files so secrets can live safely in Git

4 editorsCLI

Visit website

About dotenvx

dotenvx is a command-line tool from the creator of dotenv that encrypts the values in .env files with public-key cryptography, so the encrypted files can be committed alongside your code. At runtime, dotenvx run decrypts them with a private key per environment and injects the variables into any language or framework. It is free and open source, with no server to run.

Editor's take

The Dynamo Geeks editors' opinion

4/5

The lightest possible upgrade from plain .env files. You still need a safe way to share the private keys.

What we like

  • No server or SaaS account needed
  • Works with any language through dotenvx run
  • Encrypted .env files stay versioned with your code

Watch out for

  • Private keys still need a safe home and distribution
  • No central access control or audit trail on its own

Written by the Dynamo Geeks editors about dotenvx. It is our opinion, not a member review, and it is not counted in the member rating below.

Member reviews

No reviews yet

–

No member rating yet

5 stars
0
4 stars
0
3 stars
0
2 stars
0
1 stars
0

No reviews yet — be the first

Tell other members what dotenvx is good at, and where it falls short.

Alternatives to dotenvx

All Secrets & Env tools