-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: allow most config fields be replaced with env. vars
This commit adds support for replacing most config fields with environment variables. Now, it is possible to use e.g. the following config snippet: ``` keys: vault: endpoint: ${VAULT_ENDPOINT} approle: id: ${VAULT_APPROLE_ID} secret: ${VAULT_APPROLE_SECRET} ... ``` Before, only identities could be overwritten with env. variables. However, there are two kind of fields that cannot be overwritten with env. variables: - Durations, like expiry. - Policy paths, like `/v1/key/create/my-key`
- Loading branch information
Andreas Auernhammer
committed
Dec 10, 2020
1 parent
6a29799
commit 2820eab
Showing
1 changed file
with
77 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters