»/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.
Method | Path |
---|
GET | /sys/seal-status |
»Sample Request
$ curl \
http://127.0.0.1:8200/v1/sys/seal-status
$ curl \ http://127.0.0.1:8200/v1/sys/seal-status
»Sample Response
The "t" parameter is the threshold, and "n" is the number of shares.
{
"type": "shamir",
"sealed": true,
"t": 3,
"n": 5,
"progress": 2,
"nonce": "",
"version": "0.9.0"
}
{ "type": "shamir", "sealed": true, "t": 3, "n": 5, "progress": 2, "nonce": "", "version": "0.9.0"}
Sample response when Vault is unsealed.
{
"type": "shamir",
"sealed": false,
"t": 3,
"n": 5,
"progress": 0,
"version": "0.9.0",
"cluster_name": "vault-cluster-d6ec3c7f",
"cluster_id": "3e8b3fec-3749-e056-ba41-b62a63b997e8",
"nonce": "ef05d55d-4d2c-c594-a5e8-55bc88604c24"
}
{ "type": "shamir", "sealed": false, "t": 3, "n": 5, "progress": 0, "version": "0.9.0", "cluster_name": "vault-cluster-d6ec3c7f", "cluster_id": "3e8b3fec-3749-e056-ba41-b62a63b997e8", "nonce": "ef05d55d-4d2c-c594-a5e8-55bc88604c24"}