| Crates.io | envbuddel |
| lib.rs | envbuddel |
| version | 0.1.15 |
| created_at | 2025-10-04 19:48:03.357362+00 |
| updated_at | 2025-10-04 21:29:34.483019+00 |
| description | envbuddel is a file-based secret manager designed for CI/CD pipelines. |
| homepage | https://github.com/RincewindWizzard/envbuddel |
| repository | https://github.com/RincewindWizzard/envbuddel |
| max_upload_size | |
| id | 1868345 |
| size | 98,532 |
envbuddel is a file-based secret manager designed for CI/CD pipelines. It can encrypt a single .env file or a whole path of files. You can supply the key as environment variable or as a key file.
Build from source with Cargo:
cargo install envbuddel
The binary will be available in your path.
Alternatively you can download the binary from our latest release:
wget https://github.com/RincewindWizzard/envbuddel/releases/download/<version>/envbuddel
chmod +x envbuddel
./envbuddel
envbuddel [OPTIONS] <COMMAND>
-v, --verbose : Increase verbosity. Can be repeated (-v, -vv, -vvv)--keyfile <PATH> : Path to the keyfile (default: vault.key)--key <KEY> : the secret key. This is equal to setting CI_SECRET environment variable--env-conf <PATH> : Path to the secret environment configuration. Can be a file or a folder (default: .env)--vault <PATH> : Path to the encrypted vault file. (default: vault.enc)initInitializes the repository:
envbuddel init
--folder : Create a folder instead of a single configuration fileGenerates a new key and saves it in the keyfile.
Updates .gitignore to exclude secret files.
Creates an empty .env file or folder.
infoAnalyzes the repository and checks for configuration errors. Displays all important informations.
envbuddel info
encryptEncrypts a .env file or directory:
envbuddel encrypt
decryptDecrypts an encrypted vault back to a file or folder:
envbuddel decrypt
You can provide the key via the CI_SECRET environment variable:
export CI_SECRET="your_base64_key_here"
envbuddel encrypt
If no key is provided, the program will use the default keyfile (safe.key).
envbuddel -vv --keyfile sample/init/safe.key --env-conf sample/init/.env/ --vault sample/init/vault.enc init --folder
envbuddel -vv --keyfile sample/init/safe.key --env-conf sample/init/.env/ --vault sample/init/vault.enc info
envbuddel -vv --keyfile sample/init/safe.key --env-conf sample/init/.env/ --vault sample/init/vault.enc encrypt
envbuddel -vv --keyfile sample/init/safe.key --env-conf sample/init/.env/ --vault sample/init/vault.enc decrypt