Add a Rekey Example When Auto Unseal is Used (#13139)

Added an example to explicitly show how to perform a Rekey operation when the Vault cluster is using Auto Unseal.  This is placed as the second example. 
The existing example code combines with the PGP keys so added a simple example without the PGP keys.
This commit is contained in:
Maha Sharabinth
2022-02-05 02:43:33 +11:00
committed by GitHub
parent 69bdb574aa
commit 889e957052

View File

@@ -35,6 +35,16 @@ $ vault operator rekey \
-key-threshold=9
```
Initialize a rekey when Auto Unseal is used for the Vault cluster:
```shell-session
$ vault operator rekey \
-target=recovery \
-init \
-key-shares=15 \
-key-threshold=9
```
Initialize a rekey and activate the verification process:
```shell-session