From 110bd755223dce2757005eac3e089a7d16ee5f36 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Fri, 16 Jun 2017 21:39:41 +0000 Subject: [PATCH] Sync docs from 1.0.x to gh-pages --- 1.0.x/index.html | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/1.0.x/index.html b/1.0.x/index.html index a117a515..136a8056 100644 --- a/1.0.x/index.html +++ b/1.0.x/index.html @@ -512,7 +512,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
-
$ src/test/bash/install_vault.sh
+
$ src/test/bash/install_vault.sh
@@ -520,7 +520,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
-
$ src/test/bash/create_certificates.sh
+
$ src/test/bash/create_certificates.sh
@@ -540,20 +540,35 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
-
$ src/test/bash/local_run_vault.sh
+
$ src/test/bash/local_run_vault.sh

Vault is started listening on 0.0.0.0:8200 using the inmem storage and https. -Vault is sealed and not initialized when starting up -so you need to initialize it first.

+Vault is sealed and not initialized when starting up.

+
+
+ + + + + +
+
Note
+
+If you want to run tests, leave Vault uninitialized. The tests will +initialize Vault and create a root token 00000000-0000-0000-0000-000000000000. +
+
+
+

If you want to use Vault for your application or give it a try then you need to initialize it first.

-
$ export VAULT_ADDR="https://localhost:8200"
+
$ export VAULT_ADDR="https://localhost:8200"
 $ export VAULT_SKIP_VERIFY=true # Don't do this for production
-$ vault init
+$ vault init
@@ -561,7 +576,7 @@ $ vault init
-
Key 1: 7149c6a2e16b8833f6eb1e76df03e47f6113a3288b3093faf5033d44f0e70fe701
+
Key 1: 7149c6a2e16b8833f6eb1e76df03e47f6113a3288b3093faf5033d44f0e70fe701
 Key 2: 901c534c7988c18c20435a85213c683bdcf0efcd82e38e2893779f152978c18c02
 Key 3: 03ff3948575b1165a20c20ee7c3e6edf04f4cdbe0e82dbff5be49c63f98bc03a03
 Key 4: 216ae5cc3ddaf93ceb8e1d15bb9fc3176653f5b738f5f3d1ee00cd7dccbe926e04
@@ -574,7 +589,7 @@ restarted, or stopped, you must provide at least 3 of these keys
 to unseal it again.
 
 Vault does not store the master key. Without at least 3 keys,
-your Vault will remain permanently sealed.
+your Vault will remain permanently sealed.
@@ -584,10 +599,12 @@ Pick 3 keys and unseal Vault. Store the Vault token in the VAULT_TOKEN
-
$ vault unseal (Key 1)
+
$ vault unseal (Key 1)
 $ vault unseal (Key 2)
 $ vault unseal (Key 3)
-$ export VAULT_TOKEN=(Root token)
+$ 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"
@@ -630,7 +647,7 @@ the test cases). Example Maven configuration:

<parent>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-parent</artifactId>
-    <version>1.5.2.RELEASE</version>
+    <version>1.5.4.RELEASE</version>
     <relativePath /> <!-- lookup parent from repository -->
 </parent>