Module: init

Provides implementation for the Vault Initialization APIs

Extends

  • Vaulted

Methods


<inner> getInitStatus()

Gets the initialize status of a vault

Returns:
Type
Promise

<inner> init()

Initializes a remote vault

Parameters:
Name Type Argument Default Description
options.secret_shares number <optional>
config['secret_shares']

number of shares to split the master key into

options.secret_threshold number <optional>
config['secret_threshold']

number of shares required to reconstruct the master key

Returns:
Type
Promise