Module: backend/cubbyhole

Provides implementation for the Vault Cubbyhole APIs

Extends

  • Vaulted

Methods


<inner> deleteCubby()

Delete secret at the specified location

Parameters:
Name Type Argument Description
options.id string

unique identifier for the secret

options.token string <optional>

the authentication token

Returns:
Type
Promise

<inner> readCubby()

Retrieves the secret at the specified location

Parameters:
Name Type Argument Description
options.id string

unique identifier for the secret

options.token string <optional>

the authentication token

Returns:
Type
Promise

<inner> writeCubby()

Stores a secret at the specified location

Parameters:
Name Type Argument Description
options.id string

unique identifier for the secret

options.body Object

containing the structure of the secret to store

options.token string <optional>

the authentication token

Returns:
Type
Promise