Skip to content
Adam Brady edited this page Oct 4, 2015 · 1 revision

Key related things have two namespaces, vaultex.key, and vaultex.rekey.

key.status(callback)

Returns information about the currently initialized vault.

rekey.status(callback)

Returns information about the current rekey.

rekey.start(options, callback)

Starts a new rekey attempt.

options:

Name Default Required Description
secret_shares n/a Number of shares you wish to generate
secret_threshold n/a Number of shares you wish to require to unseal the vault
pgp_keys n/a Array of PGP keys used to encrypt shares on response

rekey.cancel(callback)

Cancels the in-progress rekey attempt.

rekey.update(key, callback)

Enters a currently-valid master key to progress the rekey attempt.

rekey.rotate(callback)

Rotate the low level encryption key used with the backend.