Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-vault-client

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vault-client - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

package.json
{
"name": "node-vault-client",
"version": "0.6.0",
"version": "0.6.1",
"description": "A Vault Client implemented in pure javascript for HashiCorp Vault. It supports variety of Auth Backends and performs lease renewal for issued auth token.",

@@ -5,0 +5,0 @@ "repository": "github:namecheap/node-vault-client",

@@ -168,3 +168,3 @@ 'use strict';

getHeaders() {
getHeaders(token) {
if (this.__namespace) {

@@ -188,3 +188,3 @@ return {

return this.__auth.getAuthToken()
.then(token => this.__api.makeRequest('GET', path, null, this.getHeaders()))
.then(token => this.__api.makeRequest('GET', path, null, this.getHeaders(token)))
.then(res => {

@@ -209,3 +209,3 @@ this.__log.debug('receive secret %s', path);

return this.__auth.getAuthToken()
.then(token => this.__api.makeRequest('LIST', path, null, this.getHeaders()))
.then(token => this.__api.makeRequest('LIST', path, null, this.getHeaders(token)))
.then(res => {

@@ -231,3 +231,3 @@ this.__log.debug('got secrets list %s', path);

return this.__auth.getAuthToken()
.then((token) => this.__api.makeRequest('POST', path, data, this.getHeaders()))
.then((token) => this.__api.makeRequest('POST', path, data, this.getHeaders(token)))
.then((response) => {

@@ -234,0 +234,0 @@ this.__log.debug('secret %s was written', path);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc