Skip to content

Commit

Permalink
Added support for TLS Certificate based Authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
sudiptosarkar committed May 12, 2023
1 parent 18597dd commit e8b37b5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions features.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
`POST /auth/{{mount_point}}{{^mount_point}}radius{{/mount_point}}/login/{{username}}`


## vault.certLogin

`POST /auth/cert/login`


## vault.tokenAccessors

`LIST /auth/token/accessors`
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ declare namespace NodeVault {
userpassLogin(options?: Option): Promise<any>;
kubernetesLogin(options?: Option): Promise<any>;
awsIamLogin(options?: Option): Promise<any>;
certLogin(options?: Option): Promise<any>;
tokenAccessors(options?: Option): Promise<any>;
tokenCreate(options?: Option): Promise<any>;
tokenCreateOrphan(options?: Option): Promise<any>;
Expand Down
11 changes: 11 additions & 0 deletions src/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,17 @@ module.exports = {
res: tokenResponse,
},
},
certLogin: {
method: 'POST',
path: '/auth/cert/login',
tokenSource: true,
schema: {
req: {
type: 'object',
},
res: tokenResponse,
},
},
tokenAccessors: {
method: 'LIST',
path: '/auth/token/accessors',
Expand Down

0 comments on commit e8b37b5

Please sign in to comment.