Provides implementation for the Vault Cubbyhole APIs
Extends
- Vaulted
Methods
-
<inner> deleteCubby()
-
Delete secret at the specified location
Parameters:
Name Type Argument Description options.idstring unique identifier for the secret
options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise
-
<inner> readCubby()
-
Retrieves the secret at the specified location
Parameters:
Name Type Argument Description options.idstring unique identifier for the secret
options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise
-
<inner> writeCubby()
-
Stores a secret at the specified location
Parameters:
Name Type Argument Description options.idstring unique identifier for the secret
options.bodyObject containing the structure of the secret to store
options.tokenstring <optional>
the authentication token
Returns:
- Type
- Promise