Update example responses for /sys/seal-status (#9621)

This commit is contained in:
Lukas Grossar 2021-09-17 18:38:36 +02:00 committed by GitHub
parent 0819eac6a8
commit 5c94e5157c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 5 deletions

View File

@ -31,12 +31,16 @@ The "t" parameter is the threshold, and "n" is the number of shares.
```json ```json
{ {
"type": "shamir", "type": "shamir",
"initialized": true,
"sealed": true, "sealed": true,
"t": 3, "t": 3,
"n": 5, "n": 5,
"progress": 2, "progress": 2,
"nonce": "", "nonce": "",
"version": "0.9.0" "version": "1.8.2",
"migration": false,
"recovery_seal": false,
"storage_type": "file"
} }
``` ```
@ -45,13 +49,17 @@ Sample response when Vault is unsealed.
```json ```json
{ {
"type": "shamir", "type": "shamir",
"initialized": true,
"sealed": false, "sealed": false,
"t": 3, "t": 3,
"n": 5, "n": 5,
"progress": 0, "progress": 0,
"version": "0.9.0", "nonce": "",
"cluster_name": "vault-cluster-d6ec3c7f", "version": "1.8.2",
"cluster_id": "3e8b3fec-3749-e056-ba41-b62a63b997e8", "migration": false,
"nonce": "ef05d55d-4d2c-c594-a5e8-55bc88604c24" "cluster_name": "vault-cluster-336172e1",
"cluster_id": "f94053ad-d80e-4270-2006-2efd67d0910a",
"recovery_seal": false,
"storage_type": "file"
} }
``` ```