@app-config/vault
v2.9.0-beta.1
Published
Hashicorp Vault support for App Config
Downloads
188
Readme
App Config Vault Plugin
This is a package for using Hashicorp Vault values in App Config.
$vault:
secret: 'foo'
select: 'bar'
This is like, in the CLI:
vault kv get -format=json secret/foo | jq .data.data.bar
Meaning, it looks up the "secret/foo", and selects the value in "bar".
Usage
Install and use:
yarn add @app-config/vault
In .app-config.meta.yml
file:
parsingExtensions:
- '@app-config/vault'
Options look like this:
parsingExtensions:
- name: '@app-config/vault'
options:
address: 'http://localhost:8200' // read from VAULT_ADDR if not set
token: '...' // read from VAULT_TOKEN if not set
namespace: '...' // optional, read from VAULT_NAMESPACE