← All projects

Dotenvx

Encrypted .env files for agent stacks in one line.

Securitysecrets-managementenv-filesencryptiondeveloper-toolscliai-agentsdotenv
Dotenvx screenshot

About

Dotenvx is a secrets management CLI tool that encrypts .env files using elliptic curve cryptography, allowing developers and AI agents to securely handle environment secrets. It is a drop-in replacement for the popular dotenv library, adding encryption, scoping, rotation, and audit capabilities. Secrets are committed as ciphertext to Git, with decryption only happening at runtime using a separately stored private key.

Problem

Plain .env files expose secrets to LLMs, logs, and version control, risking leakage into prompts or model context.

For

Developers and teams building with AI agents who need to manage secrets securely

How it works

Developers replace dotenv with dotenvx, run a single encrypt command to convert .env values to ciphertext, and secrets are decrypted only at runtime by the process that needs them using a separately managed private key.

Business model

open-source

Status

launched

Founders

Similar projects