node-vault
Advanced tools
Comparing version 0.7.0 to 0.7.1
{ | ||
"name": "node-vault", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Javascript client for HashiCorp's Vault", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -357,12 +357,80 @@ const sealStatusResponse = { | ||
method: 'POST', | ||
path: '/auth/github/login', | ||
path: '/auth/{{mount_point}}{{^mount_point}}github{{/mount_point}}/login', | ||
schema: { | ||
req: { | ||
type: 'object', | ||
properties: { | ||
token: { | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['token'], | ||
}, | ||
res: tokenResponse, | ||
}, | ||
}, | ||
userpassLogin: { | ||
method: 'POST', | ||
path: '/auth/userpass/login/{{username}}', | ||
path: '/auth/{{mount_point}}{{^mount_point}}userpass{{/mount_point}}/login/{{username}}', | ||
schema: { | ||
req: { | ||
type: 'object', | ||
properties: { | ||
password: { | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['password'], | ||
}, | ||
res: tokenResponse, | ||
}, | ||
}, | ||
ldapLogin: { | ||
method: 'POST', | ||
path: '/auth/ldap/login/{{username}}', | ||
path: '/auth/{{mount_point}}{{^mount_point}}ldap{{/mount_point}}/login/{{username}}', | ||
schema: { | ||
req: { | ||
type: 'object', | ||
properties: { | ||
password: { | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['password'], | ||
}, | ||
res: tokenResponse, | ||
}, | ||
}, | ||
oktaLogin: { | ||
method: 'POST', | ||
path: '/auth/{{mount_point}}{{^mount_point}}okta{{/mount_point}}/login/{{username}}', | ||
schema: { | ||
req: { | ||
type: 'object', | ||
properties: { | ||
password: { | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['password'], | ||
}, | ||
res: tokenResponse, | ||
}, | ||
}, | ||
radiusLogin: { | ||
method: 'POST', | ||
path: '/auth/{{mount_point}}{{^mount_point}}radius{{/mount_point}}/login/{{username}}', | ||
schema: { | ||
req: { | ||
type: 'object', | ||
properties: { | ||
password: { | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['password'], | ||
}, | ||
res: tokenResponse, | ||
}, | ||
}, | ||
tokenAccessors: { | ||
@@ -806,3 +874,3 @@ method: 'LIST', | ||
method: 'LIST', | ||
path: '/auth/approle/role', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role', | ||
schema: { | ||
@@ -814,3 +882,3 @@ res: approleResponse, | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role/{{role_name}}', | ||
schema: { | ||
@@ -850,3 +918,3 @@ req: { | ||
method: 'GET', | ||
path: '/auth/approle/role/{{role_name}}', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role/{{role_name}}', | ||
schema: { | ||
@@ -858,7 +926,7 @@ res: approleResponse, | ||
method: 'DELETE', | ||
path: '/auth/approle/role/{{role_name}}', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role/{{role_name}}', | ||
}, | ||
getApproleRoleId: { | ||
method: 'GET', | ||
path: '/auth/approle/role/{{role_name}}/role-id', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role/{{role_name}}/role-id', | ||
schema: { | ||
@@ -870,3 +938,3 @@ res: approleResponse, | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/role-id', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/role/{{role_name}}/role-id', | ||
schema: { | ||
@@ -886,3 +954,4 @@ req: { | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id', | ||
schema: { | ||
@@ -908,3 +977,4 @@ req: { | ||
method: 'LIST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id', | ||
schema: { | ||
@@ -916,3 +986,4 @@ res: approleResponse, | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id/lookup', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id/lookup', | ||
schema: { | ||
@@ -933,3 +1004,4 @@ req: { | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id/destroy', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id/destroy', | ||
schema: { | ||
@@ -949,3 +1021,4 @@ req: { | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id-accessor/lookup', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id-accessor/lookup', | ||
schema: { | ||
@@ -965,7 +1038,8 @@ req: { | ||
method: 'POST', | ||
path: '/auth/approle/role/{{role_name}}/secret-id-accessor/destroy', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}' + | ||
'/role/{{role_name}}/secret-id-accessor/destroy', | ||
}, | ||
approleLogin: { | ||
method: 'POST', | ||
path: '/auth/approle/login', | ||
path: '/auth/{{mount_point}}{{^mount_point}}approle{{/mount_point}}/login', | ||
schema: { | ||
@@ -972,0 +1046,0 @@ req: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35005
1279