From 3b53330537cdd30be72a2d3069490df1121e30db Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Mon, 11 Nov 2019 08:01:17 -0500 Subject: [PATCH] Correcting vault init/unseal in README. Upgrade to most recent syntax. Original pull request: gh-506. --- README.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index 1612ef1c..4e13b310 100644 --- a/README.adoc +++ b/README.adoc @@ -107,9 +107,10 @@ Vault is sealed and not initialized when starting up so you need to initialize it first. ---- +$ cd vault $ export VAULT_ADDR="https://localhost:8200" $ export VAULT_SKIP_VERIFY=true # Don't do this for production -$ vault init +$ ./vault operator init ---- You should see something like: @@ -135,9 +136,9 @@ Vault will initialize and return a set of unsealing keys and the root token. Pick 3 keys and unseal Vault. ---- -$ vault unseal (Key 1) -$ vault unseal (Key 2) -$ vault unseal (Key 3) +$ ./vault operator unseal (Key 1) +$ ./vault operator unseal (Key 2) +$ ./vault operator unseal (Key 3) ---- Vault is now initialized and unsealed.