Description
node-vault is a client for the HTTP API of HashiCorp's Vault, written for Node.js. The README lists Node.js 18.0.0 or later as the prerequisite, and it installs with npm. The client reads several environment variables as defaults, including VAULT_ADDR for the server URL and VAULT_TOKEN for the token, and an explicit option overrides each of them. Trailing slashes in the endpoint URL are removed automatically to prevent malformed request URIs. The README has a test section, a configuration section with client options, and a table of environment variables. It also has a note for people who need an older version of Node.js, and it points to the older releases of the package for that case. It is for Node.js developers who need to use a Vault server from their applications.…
Highlights
- Node.js client for the Vault HTTP API
- Environment variables for address and token
- Client options and configuration
- Automatic trailing slash handling
- Needs Node.js 18.0.0 or later
Ratings & Reviews
No ratings yet
Be the first to rate Node Vault.
People also visit
Lockenv
Simple, password-based encrypted vault for .env and infrastructure secrets
Node Vault FAQ
What is node-vault?
A Node.js client for the HTTP API of HashiCorp's Vault.
Which Node.js version do I need?
The README says Node.js 18.0.0 or later. It has a separate note for older Node.js versions.
Which environment variables does it read?
VAULT_ADDR for the server URL, VAULT_TOKEN for the token and VAULT_NAMESPACE. An explicit option overrides each of them.
How do I configure the client?
The README has a Configuration section with client options and a table of environment variables.
What are the best Node Vault alternatives?
Popular alternatives to Node Vault include Smart Grow Vault, Vault and Lockenv. See all Node Vault alternatives