qmetrics.net

Dotenvx

Encrypted dotenv workflows for apps and CI

Secrets ManagementDesktop/CLI app
Dotenvx screenshot

dotenvx encrypts secrets in .env files, lets you commit ciphertext safely, and injects decrypted values at runtime via CLI, similar to dotenv with secp256k1 encryption.

Overview

dotenvx is a CLI and tooling layer for managing environment secrets in .env files. It extends familiar dotenv usage by encrypting values into ciphertext that can live in git while decryption keys stay on runtime infrastructure.

The design combines git for distribution, .env for how apps load configuration, and secp256k1 asymmetric encryption so private keys on servers unlock secrets just in time. Workflows cover local development, encrypted commits, and production deploys with DOTENV_PRIVATE_KEY set in the environment.

Install options include npm, curl, Homebrew, Docker, GitHub releases, and Windows packages. Guides cover TypeScript, Next.js, Astro, Expo, Python, PHP, Ruby, Go, Rust, Docker, GitHub Actions, and integrations that redact secrets when running Claude, Codex, or Cursor.

Additional features include multi-environment files with -f, variable expansion from the host environment, command substitution in values, and resolution hooks for 1Password and Bitwarden.

Key features

  • Encrypt and decrypt .env values
  • Commit ciphertext with application code
  • Runtime injection via dotenvx run
  • Multi-environment env file flags
  • Framework and CI quickstarts
  • 1Password and Bitwarden resolution
  • Agent redaction guides

Use cases

  • Sharing secrets through git safely
  • Consistent env loading in CI and prod
  • Encrypted local dev with team keys

Tags

Similar software

Vault

Secrets management, encryption as a service, and access control

Vault stores and controls access to secrets such as API keys, passwords, and certificates through a unified interface with audit logging.

  • Encrypted secret key-value storage
  • Dynamic secrets with leases
  • Encryption as a service
GoDocker, CLIDetails →
★ 36.6k⟳ todaySource-available

Infisical

Open-source security infrastructure for secrets, certs, and access

Infisical is a security infrastructure platform where teams manage application secrets, certificates, privileged access, and AI agent credentials in one place.

  • Centralized secrets across environments
  • Secret sync to cloud and CI platforms
  • Dynamic and scheduled secret rotation
TypeScriptWeb, Linux, macOS, DockerDetails →
★ 31.1k⟳ todayMIT · open core
Secrets ManagementSelf-hostable
Open Source Alternative to:BeyondTrust

SOPS

Structured secrets editor with multi-KMS encryption

SOPS encrypts YAML, JSON, ENV, INI, and binary files while leaving keys and structure readable. It wraps values with AES-256-GCM using session keys controlled by PGP, age, or cloud KMS identities.

  • Encrypt values while keys stay plain
  • YAML, JSON, ENV, INI, binary formats
  • Multi-identity decryption policies
GoDetails →
★ 24k⟳ 3 days agoMPL-2.0
Secrets ManagementDesktop/CLI app

Varlock

Schema-driven .env validation and secret-safe configuration

Varlock adds typed schemas to environment files so agents see structure without secret values. It validates config, scans for leaks, and loads secrets from external vault plugins.

  • Typed .env.schema single source of truth
  • AI-safe schema exposure without secrets
  • varlock scan leak detection with git hooks
TypeScriptCLI, DockerDetails →
★ 5.2k⟳ 17 days agoMIT
Secrets ManagementDesktop/CLI app

Berglas

Command-line and library secrets tool for Google Cloud

Berglas encrypts secrets with Cloud KMS, stores them in Cloud Storage or Secret Manager, and exposes CLI and runtime helpers for Google Cloud apps.

  • CLI create, grant, and access secrets
  • Cloud KMS plus Cloud Storage storage
  • Secret Manager interoperability
GomacOS, Docker, CLIDetails →
★ 1.3k⟳ 17 days agoApache-2.0
Secrets ManagementDesktop/CLI app

Phase

Open-source secrets manager for teams and AI agents

Phase helps teams and AI agents access, manage, and deploy application secrets across development, staging, and production with centralized control.

  • Multi-environment secret management
  • Dynamic secrets for AI agents
  • Role-based access control
TypeScriptCLIDetails →
★ 958⟳ 3 days agoMIT · open core