Module: seal

Provides implementation for the Vault Seal APIs

Extends

  • Vaulted

Methods


<inner> getSealedStatus()

Gets the sealed status of a vault and sets internal property accordingly

Returns:
Type
Promise

<inner> seal()

Seals the vault

Parameters:
Name Type Argument Description
options.token string <optional>

the authentication token

Returns:
Type
Promise

<inner> unSeal()

Unseals the vault

Parameters:
Name Type Argument Description
options.body.key Object

A single master share key

options.body.reset Object <optional>

if true, the previously-provided unseal keys are discarded from memory and the unseal process is reset.

Returns:
Type
Promise