2015-04-18 21:34:47 +00:00
|
|
|
---
|
|
|
|
layout: "http"
|
|
|
|
page_title: "HTTP API: /sys/seal-unseal"
|
|
|
|
sidebar_current: "docs-http-seal-unseal"
|
|
|
|
description: |-
|
|
|
|
The '/sys/seal-unseal' endpoint is used to unseal the Vault.
|
|
|
|
---
|
|
|
|
|
|
|
|
# /sys/unseal
|
|
|
|
|
|
|
|
<dl>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
Enter a single master key 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.
|
|
|
|
</dd>
|
2015-04-18 21:34:47 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Method</dt>
|
|
|
|
<dd>PUT</dd>
|
2015-04-18 21:34:47 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Parameters</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<span class="param">secret_shares</span>
|
|
|
|
<span class="param-flags">required</span>
|
|
|
|
The number of shares to split the master key into.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="param">key</span>
|
|
|
|
<span class="param-flags">required</span>
|
|
|
|
A single master share key.
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>The same result as `/sys/seal-status`.
|
|
|
|
</dd>
|
2015-04-18 21:34:47 +00:00
|
|
|
</dl>
|