vault-api is an Axios-like Node.js library for interacting with Hashicorp Vault. Currently at version 1.1.2 (last updated December 2021), it supports KV v1 and v2 secrets engines. It provides a simple, promise-based API similar to Axios for reading and writing secrets. The library is TypeScript-compatible with included type definitions. No major updates since 2021.
npm install vault-apiVerified import paths — ran on the pinned version, not inferred.
Basic read/write operations using vault-api with Axios-like configuration object.
Ensure you either authenticate before using vault() or set VAULT_TOKEN environment variable.
Use another library (like node-vault) for non-KV engines.
Refer to the library's wiki for proper configuration.
Run `npm install vault-api` and ensure your import path is correct.
Use `import vault from 'vault-api'` (default import) or `const { vault } = require('vault-api')`.Verify the Vault server is running and the secret engine is enabled at that path.
No dependency data recorded yet.