Provides implementation for the Vault Auth APIs
Extends
- Vaulted
Methods
-
<inner> createAuthMount()
-
Creates the specified authentication backend mount in the vault and sets internal property accordingly
Parameters:
Name Type Argument Description options.idstring unique identifier for the auth mount
options.body.typestring the type of auth ('app-id')
options.body.descriptionstring <optional>
a description of the auth backend for operators.
options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise
-
<inner> deleteAuthMount()
-
Deletes the specified authentication backend mount from the vault and sets internal property accordingly
Parameters:
Name Type Argument Description options.idstring unique identifier for the auth mount
options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise
-
<inner> getAuthMounts()
-
Gets the list of authentication backend mounts for the vault and sets internal property accordingly
Parameters:
Name Type Argument Description options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise