Module: auth

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.id string

unique identifier for the auth mount

options.body.type string

the type of auth ('app-id')

options.body.description string <optional>

a description of the auth backend for operators.

options.token string <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.id string

unique identifier for the auth mount

options.token string <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.token string <optional>

the authentication token

Returns:
Type
Promise