Crate dotenvx

Crate dotenvx 

Source
Expand description

§dotenvx

A secure environment variable management tool with built-in encryption using ECIES.

§Features

  • Runtime Environment Injection: Load .env files at runtime
  • Built-in Encryption: ECIES encryption using secp256k1
  • Key Management: Secure public/private key handling
  • Variable Expansion: Support for ${VAR:-default} syntax
  • Command Substitution: Execute shell commands in .env files

§Example

use dotenvx::crypto::Keypair;

let keypair = Keypair::generate();
println!("Public key: {}", keypair.public_key());

Re-exports§

pub use crypto::decrypt;
pub use crypto::encrypt;
pub use crypto::Keypair;
pub use parser::DotenvParser;
pub use utils::error::DotenvxError;
pub use utils::error::Result;

Modules§

cli
crypto
parser
services
utils