@crds_npm/crds-vault-node
v3.1.0
Published
node package for loading env vars from vault
Downloads
69
Keywords
Readme
crds-vault-node
NodeJS package for reading secrets from vault and storing them to process.env
The Vault class contains methods to access Vault. The VaultToEnv class contains methods to read secrets from vault and store them to process.env.
The following environment variables need to be set or passed in when constructing Vault or VaultToEnv.
VAULT_ROLE_ID
VAULT_SECRET_ID
The following additional environment variables are optional, but can be set or passed in when constructing Vault or VaultToEnv.
VAULT_URI
VAULT_SECRET_FOLDER
VAULT_NAMESPACE