Address feedback

This commit is contained in:
Jeff Mitchell 2018-05-21 16:13:38 -04:00
parent 62f46c5411
commit 8ad0bbbc44
2 changed files with 3 additions and 3 deletions

View File

@ -301,7 +301,7 @@ type SealConfig struct {
// VerificationRequired indicates that after a rekey validation must be
// performed (via providing shares from the new key) before the new key is
// actually installed. This is ommitted from JSON as we don't persist the
// actually installed. This is omitted from JSON as we don't persist the
// new key, it lives only in memory.
VerificationRequired bool `json:"-"`

View File

@ -187,7 +187,7 @@ call.
When the operation is complete, this will return a response like the example
below; otherwise the response will be the same as the `GET` method against
`sys/rekey/init`, providing status on the operation itself.
`sys/rekey-recovery-key/init`, providing status on the operation itself.
If verification was requested, successfully completing this flow will
immediately put the operation into a verification state, and provide the nonce
@ -255,7 +255,7 @@ verification attempt.
```
$ curl \
--header "X-Vault-Token: ..." \
http://127.0.0.1:8200/v1/sys/rekey/verify
http://127.0.0.1:8200/v1/sys/rekey-recovery-key/verify
```
### Sample Response