{"repo":"nodevault/node-vault","free":true,"listed":false,"github":"https://github.com/nodevault/node-vault","clone":"git clone https://github.com/nodevault/node-vault.git","description":"Client for HashiCorp's Vault","language":"JavaScript","stars":554,"topics":["vault","hashicorp","nodejs","secrets","client","api-client","api","node","node-vault"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"node-vault A client for the HTTP API of HashiCorp's [Vault] written for Node.js. Install Prerequisites: - Node.js = 18.0.0 Note: If you need to use an older version of Node.js ( = 6.x), use node-vault Please be aware that node-vault Note: Trailing slashes in the endpoint URL (e.g. http://127.0.0.1:8200/ ) are automatically stripped to prevent malformed request URIs. Environment Variables The client reads the following environment variables as defaults: Variable Description --- --- VAULT ADDR Vault server URL (overridden by endpoint option) VAULT TOKEN Vault token (overridden by token option) VAULT NAMESPACE Vault Enterprise namespace (overridden by namespace option) VAULT PREFIX Request path prefix (overridden by pathPrefix option) VAULT SKIP VERIFY When set, disables SSL certificate verification Usage Init and unseal Unseal a vault that is already initialized If the vault server has been restarted or sealed, you can unseal it using the unseal keys from the original initialization. If the vault was initialized with secret threshold 1 , you must call unseal multiple times with different keys until the threshold is met. When the vault requires multiple unseal keys (threshold 1): See example/unseal.js for a working example. Write, read, update and delete secrets The update method sends a PATCH request with application/merge-patch+json content type: List secrets Kubernetes Auth Example AppRole Auth Example Error Handling The client exposes two error types accessible from the modu","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodevault","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodevault/node-vault/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}