Skip to main content

Crate envguard

Crate envguard 

Source
Expand description

§envguard

Encrypted .env files that just work. Zero config, single binary, built-in team sharing.

§Overview

envguard encrypts your .env secrets using age so you can commit them directly to git. Your team shares public keys, not secrets.

§CLI Usage

envguard is primarily a command-line tool:

cargo install envguard

envguard init                          # Generate encryption keys
envguard set API_KEY "sk-123"          # Add an encrypted secret
envguard run -- npm start              # Run with secrets injected
envguard trust age1abc...              # Add a teammate

See the README for full CLI documentation.

§Library Usage

The crypto and store modules can also be used as a library for programmatic access to envguard vaults:

Modules§

crypto
Encryption and decryption using age (X25519 + ChaCha20-Poly1305).
store
Secret storage and file management.