Select an encrypted file or merge configuration explicitly
The SDK reads DOTENV_FILE to select a file. Create and encrypt .env.ci first, then supply its key through .env.keys or DOTENV_PRIVATE_KEY_CI:
$ DOTENV_FILE=.env.ci cargo run
Use a comma-separated list to load multiple files:
$ DOTENV_FILE=.env.production,.env cargo run
Existing process variables win, followed by the first file, then the second. Each file is decrypted using its public-key metadata and available private keys. Loading is strict, so every selected file must exist and decrypt successfully.
load returns the resolved environment as a map, including existing process values. Pass individual values to your application; do not print the map.