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