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=.envOptions
| Option | Description |
|---|---|
--map | Path to JSON mapping file |
--envfile | Path to write .env |
--provider | aws (default) or azure |
--vault-url | Azure Key Vault URL |
--profile | AWS 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=.envOutput
.envdotenv
# Generated by Envilder
API_KEY=abc123
DB_PASSWORD=secret456