Restore changes to readme.

Closes gh-623.
This commit is contained in:
Mark Paluch
2021-11-22 14:22:01 +01:00
parent b45bd2851a
commit c36463a96f
2 changed files with 10 additions and 10 deletions

View File

@@ -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.

View File

@@ -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.