Skip to content

Repository files navigation

rustenv

A fast, secure environment variable and secret management tool — written in Rust.

Crates.io License: MIT Build GitHub Release

rustenv show          # view .env with masked secrets
rustenv diff .env .env.production   # compare two env files
rustenv encrypt .env  # AES-256 encrypted .env.enc

Installation

⚡ Quick Install (Linux / macOS)

curl -fsSL https://raw.githubusercontent.com/anilcan-kara/rustenv/master/install.sh | sh

Cargo

cargo install rustenv

Features

  • 👁️ Show — pretty-print any .env file with automatic secret masking
  • 🔍 Diff — compare two .env files side-by-side, see added/removed/changed keys
  • Validate — check syntax, detect empty values, find duplicates, validate booleans
  • 📤 Export — convert .env to shell, Docker, or JSON format
  • 🔐 Encrypt — AES-256 encrypt your .env file into a .env.enc
  • 🔓 Decrypt — decrypt a .env.enc back to plaintext

Contributing

See CONTRIBUTING.md. All PRs welcome.


License

MIT © Anilcan Kara

About

A fast, secure environment variable and secret management tool — written in Rust

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages