2017-03-15 06:40:33 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: api
|
|
|
|
page_title: /sys/seal-status - HTTP API
|
|
|
|
description: The `/sys/seal-status` endpoint is used to check the seal status of a Vault.
|
2017-03-15 06:40:33 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# `/sys/seal-status`
|
|
|
|
|
|
|
|
The `/sys/seal-status` endpoint is used to check the seal status of a Vault.
|
|
|
|
|
|
|
|
## Seal Status
|
|
|
|
|
|
|
|
This endpoint returns the seal status of the Vault. This is an unauthenticated
|
|
|
|
endpoint.
|
|
|
|
|
2020-01-18 00:18:09 +00:00
|
|
|
| Method | Path |
|
|
|
|
| :----- | :----------------- |
|
|
|
|
| `GET` | `/sys/seal-status` |
|
2017-03-15 06:40:33 +00:00
|
|
|
|
|
|
|
### Sample Request
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-03-15 06:40:33 +00:00
|
|
|
$ curl \
|
2018-03-23 15:41:51 +00:00
|
|
|
http://127.0.0.1:8200/v1/sys/seal-status
|
2017-03-15 06:40:33 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Sample Response
|
|
|
|
|
|
|
|
The "t" parameter is the threshold, and "n" is the number of shares.
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2017-12-17 21:26:07 +00:00
|
|
|
"type": "shamir",
|
2017-03-15 06:40:33 +00:00
|
|
|
"sealed": true,
|
|
|
|
"t": 3,
|
|
|
|
"n": 5,
|
|
|
|
"progress": 2,
|
2017-12-17 21:26:07 +00:00
|
|
|
"nonce": "",
|
|
|
|
"version": "0.9.0"
|
2017-03-15 06:40:33 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
Sample response when Vault is unsealed.
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2017-12-17 21:26:07 +00:00
|
|
|
"type": "shamir",
|
2017-03-15 06:40:33 +00:00
|
|
|
"sealed": false,
|
|
|
|
"t": 3,
|
|
|
|
"n": 5,
|
|
|
|
"progress": 0,
|
2017-12-17 21:26:07 +00:00
|
|
|
"version": "0.9.0",
|
2017-03-15 06:40:33 +00:00
|
|
|
"cluster_name": "vault-cluster-d6ec3c7f",
|
2017-12-17 21:26:07 +00:00
|
|
|
"cluster_id": "3e8b3fec-3749-e056-ba41-b62a63b997e8",
|
|
|
|
"nonce": "ef05d55d-4d2c-c594-a5e8-55bc88604c24"
|
2017-03-15 06:40:33 +00:00
|
|
|
}
|
|
|
|
```
|