From 440d6c230b8222be2996b16d8d6d88de236a3365 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 18 Dec 2019 21:42:43 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 21 +++++++++++++++++++++ reference/html/spring-cloud-config.html | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/reference/html/index.html b/reference/html/index.html index 668b3f4a..652a2d90 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -1287,6 +1287,27 @@ $ vault kv put secret/myapp foo=myappsbar } +
+

The default way for a client to provide the necessary authentication to let Config Server talk to Vault is to set the X-Config-Token header. +However, you can instead omit the header and configure the authentication in the server, by setting the same configuration properties as Spring Cloud Vault. +The property to set is spring.cloud.config.server.vault.authentication. +It should be set to one of the supported authentication methods. +You may also need to set other properties specific to the authentication method you use, by using the same property names as documented for spring.cloud.vault but instead using the spring.cloud.config.server.vault prefix. +See the Spring Cloud Vault Reference Guide for more detail.

+
+
+ + + + + +
+ + +If you omit the X-Config-Token header and use a server property to set the authentication, the Config Server application needs an additional dependency on Spring Vault to enable the additional authentication options. +See the Spring Vault Reference Guide for how to add that dependency. +
+
Multiple Properties Sources
diff --git a/reference/html/spring-cloud-config.html b/reference/html/spring-cloud-config.html index 668b3f4a..652a2d90 100644 --- a/reference/html/spring-cloud-config.html +++ b/reference/html/spring-cloud-config.html @@ -1287,6 +1287,27 @@ $ vault kv put secret/myapp foo=myappsbar }
+
+

The default way for a client to provide the necessary authentication to let Config Server talk to Vault is to set the X-Config-Token header. +However, you can instead omit the header and configure the authentication in the server, by setting the same configuration properties as Spring Cloud Vault. +The property to set is spring.cloud.config.server.vault.authentication. +It should be set to one of the supported authentication methods. +You may also need to set other properties specific to the authentication method you use, by using the same property names as documented for spring.cloud.vault but instead using the spring.cloud.config.server.vault prefix. +See the Spring Cloud Vault Reference Guide for more detail.

+
+
+ + + + + +
+ + +If you omit the X-Config-Token header and use a server property to set the authentication, the Config Server application needs an additional dependency on Spring Vault to enable the additional authentication options. +See the Spring Vault Reference Guide for how to add that dependency. +
+
Multiple Properties Sources