envchain
« Back to VersTracker
Description:
Secure your credentials in environment variables
Type: Formula  |  Latest Version: 1.1.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security credentials keychain environment-variables cli
Install: brew install envchain
About:
Envchain securely stores and retrieves credentials using the native system keychain (Keychain on macOS, Secret Service on Linux). It injects these secrets as environment variables for your applications, eliminating the need to hardcode sensitive data in configuration files or scripts.
Key Features:
  • Native OS keychain integration (macOS Keychain, Linux libsecret)
  • CLI-based secret injection into environment variables
  • Namespace support for organizing credentials by project or service
  • Simple integration with shell scripts and application startup routines
Use Cases:
  • Injecting API keys and database passwords into local development environments
  • Managing credentials for CI/CD scripts running on local machines
  • Securing configuration secrets for command-line applications
Alternatives:
  • 1Password CLI – More feature-rich with cloud sync and team management, but requires a paid subscription.
  • direnv – Excellent for directory-specific environment variables but relies on unencrypted .envrc files by default.
License: MIT
Dependencies: glib, libsecret, readline
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 1:52pm 0 VERSION_BUMP cbccadbb
Nov 18, 2024 10:20pm 0 VERSION_BUMP 24456418
Sep 13, 2024 2:10am 0 VERSION_BUMP ea79b478