Based on this template
Set your environment variables from the Vault.
-
Fetch your Vault secret URL from the UI
-
Set it as CFG_VAULT_PATH
CFG_VAULT_PATH=https://example-vault.com/ui/vault/secrets/secret/show/path/to/the/secret
Only Vault K/V Storage is now supported.
-
Set authentication.
CFG_VAULT_USERPASS={your base64 encoded `username:password`}
Only userpass is now supported.
-
Run your node with -r
node -r configuru-vault/register my_app.js
TBD.
This project is licensed under MIT.