Seal

class SealEndpoint(req_handler)
task status()

Returns the seal status of the Vault.

Returns:SealStatus – The seal status
task seal()

Seals the Vault.

Returns:bool – Vault has been sealed
task unseal(keys)

Enter master keys share to progress the unsealing of the Vault. If the threshold number of master key shares is reached, Vault will attempt to unseal the Vault. Otherwise, this API must be called multiple times until that threshold is met.

Parameters:
  • keys (list) – A list of master share key
  • secret_shares (int) – The number of shares to split the master key into
Returns:

SealStatus – The seal status

Objects

class SealStatus(sealed, t, n, progress)