CLI pull

Download secrets from your provider and write them to a local .env file.

Pull command

Download secrets from your cloud provider and generate a local .env file.

envilder --map=envilder.json --envfile=.env

Options

OptionDescription
--mapPath to JSON mapping file
--envfilePath to write .env
--provideraws (default) or azure
--vault-urlAzure Key Vault URL
--profileAWS CLI profile to use

Examples

# Default (AWS SSM)
envilder --map=envilder.json --envfile=.env

# With AWS profile
envilder --map=envilder.json --envfile=.env --profile=prod-account

# Azure via $config in map file
envilder --map=envilder.azure.json --envfile=.env

# Azure via CLI flags
envilder --provider=azure \
  --vault-url=https://my-vault.vault.azure.net \
  --map=envilder.json --envfile=.env

Output

.envdotenv
# Generated by Envilder
API_KEY=abc123
DB_PASSWORD=secret456