mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user