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 14, 2023
1 parent ab2857a commit bebde35
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 @@ -252,6 +252,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 @@ -86,6 +86,7 @@ declare namespace NodeVault {
ldapLogin(options?: Option): Promise<any>;
oktaLogin(options?: Option): Promise<any>;
radiusLogin(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 @@ -732,6 +732,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 bebde35

Please sign in to comment.