open-vault/website/pages/api-docs/system/seal.mdx
Jeff Escalante df34412570 New Website! (#8154)
* new documentation website

* ci job adjustment

* update to latest version on downloads page

* remove transition-period scripts

* add netlify toml file

* fix docs patch

* fix ci config?

* revert go.mod changes

* a couple last markdown formatting fixes
2020-01-17 16:18:09 -08:00

30 lines
628 B
Plaintext

---
layout: api
page_title: /sys/seal - HTTP API
sidebar_title: <code>/sys/seal</code>
description: The `/sys/seal` endpoint seals the Vault.
---
# `/sys/seal`
The `/sys/seal` endpoint seals the Vault.
## Seal
This endpoint 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.
| Method | Path |
| :----- | :---------- |
| `PUT` | `/sys/seal` |
### Sample Request
```
$ curl \
--header "X-Vault-Token: ..." \
--request PUT \
http://127.0.0.1:8200/v1/sys/seal
```