CLI push
Upload environment variables from a .env file or push one secret directly.
Push command
Upload environment variables from a local .env file to your cloud provider using a mapping file.
envilder --push --envfile=.env --map=envilder.jsonOptions
| Option | Description |
|---|---|
--push | Enable push mode (required) |
--envfile | Path to your local .env file |
--map | Path to parameter mapping JSON |
--provider | aws (default) or azure |
--vault-url | Azure Key Vault URL |
--profile | AWS CLI profile (AWS only) |
Examples
# Push to AWS SSM
envilder --push --envfile=.env --map=envilder.json
# With AWS profile
envilder --push --envfile=.env.prod --map=envilder.json --profile=prod-account
# Azure via $config in map file
envilder --push --envfile=.env --map=envilder.azure.json
# Azure via CLI flags
envilder --push --provider=azure \
--vault-url=https://my-vault.vault.azure.net \
--envfile=.env --map=envilder.jsonPush single variable
Push a single environment variable directly without any files.
envilder --push --key=API_KEY --value={SECRET} --secret-path=/myapp/api/keyOptions
| Option | Description |
|---|---|
--push | Enable push mode (required) |
--key | Environment variable name |
--value | Value to store |
--secret-path | Full secret path in your cloud provider |
--provider | aws (default) or azure |
--vault-url | Azure Key Vault URL |
--profile | AWS CLI profile (AWS only) |