2015-04-18 21:34:47 +00:00
|
|
|
---
|
|
|
|
layout: "http"
|
|
|
|
page_title: "HTTP API: /sys/seal"
|
|
|
|
sidebar_current: "docs-http-seal-seal"
|
|
|
|
description: |-
|
|
|
|
The '/sys/seal' endpoint seals the Vault.
|
|
|
|
---
|
|
|
|
|
|
|
|
# /sys/seal
|
|
|
|
|
|
|
|
<dl>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
2016-02-27 00:43:55 +00:00
|
|
|
Seals the Vault. In HA mode, only an active node can be sealed. Standby
|
|
|
|
nodes should be restarted to get the same effect. Requires a token with
|
|
|
|
`root` policy or `sudo` capability on the path.
|
2015-04-22 23:47:11 +00:00
|
|
|
</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>
|
|
|
|
None
|
|
|
|
</dd>
|
2015-04-18 21:34:47 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>A `204` response code.
|
|
|
|
</dd>
|
2015-04-18 21:34:47 +00:00
|
|
|
</dl>
|