From c36463a96f37cff394d374724b65e84bb2a40f92 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 22 Nov 2021 14:22:01 +0100 Subject: [PATCH] Restore changes to readme. Closes gh-623. --- README.adoc | 10 +++++----- docs/src/main/asciidoc/quickstart.adoc | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.adoc b/README.adoc index a0f43d8d..d153d967 100644 --- a/README.adoc +++ b/README.adoc @@ -113,7 +113,7 @@ If you want to use Vault for your application or give it a try then you need to ---- $ 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: @@ -143,12 +143,12 @@ environment variable. [source,bash] ---- -$ 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) $ export VAULT_TOKEN=(Root token) # Required to run Spring Cloud Vault tests after manual initialization -$ vault token-create -id="00000000-0000-0000-0000-000000000000" -policy="root" +$ vault token create -id="00000000-0000-0000-0000-000000000000" -policy="root" ---- Spring Cloud Vault accesses different resources. diff --git a/docs/src/main/asciidoc/quickstart.adoc b/docs/src/main/asciidoc/quickstart.adoc index 06e6a490..755be787 100644 --- a/docs/src/main/asciidoc/quickstart.adoc +++ b/docs/src/main/asciidoc/quickstart.adoc @@ -72,7 +72,7 @@ If you want to use Vault for your application or give it a try then you need to ---- $ 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: @@ -102,12 +102,12 @@ environment variable. [source,bash] ---- -$ 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) $ export VAULT_TOKEN=(Root token) # Required to run Spring Cloud Vault tests after manual initialization -$ vault token-create -id="00000000-0000-0000-0000-000000000000" -policy="root" +$ vault token create -id="00000000-0000-0000-0000-000000000000" -policy="root" ---- Spring Cloud Vault accesses different resources.