From ec35d2fdd562aa9e5a52ce50f338c587b48de9cf Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 13 Jan 2020 20:34:30 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 20 ++++++++++++++++++++ reference/html/spring-cloud-config.html | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/reference/html/index.html b/reference/html/index.html index 88a86a5b..0bd164e0 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -1457,6 +1457,25 @@ For example, if you run the following Vault command, all applications using the +
+
CredHub Server
+
+

When using CredHub as a backend, you can share configuration with all applications by placing configuration in /application/ or by placing it in the default profile for the application. +For example, if you run the following CredHub command, all applications using the config server will have the properties shared.color1 and shared.color2 available to them:

+
+
+
+
credhub set --name "/application/profile/master/shared" --type=json
+value: {"shared.color1": "blue", "shared.color": "red"}
+
+
+
+
+
credhub set --name "/my-app/default/master/more-shared" --type=json
+value: {"shared.word1": "hello", "shared.word2": "world"}
+
+
+

JDBC Backend

@@ -1658,6 +1677,7 @@ value: {"marketing.enabled": true, "external.enabled": false} When no profile is specified default will be used and when no label is specified master will be used as a default value. +NOTE: Values added to application will be shared by all the applications. diff --git a/reference/html/spring-cloud-config.html b/reference/html/spring-cloud-config.html index 88a86a5b..0bd164e0 100644 --- a/reference/html/spring-cloud-config.html +++ b/reference/html/spring-cloud-config.html @@ -1457,6 +1457,25 @@ For example, if you run the following Vault command, all applications using the
+
+
CredHub Server
+
+

When using CredHub as a backend, you can share configuration with all applications by placing configuration in /application/ or by placing it in the default profile for the application. +For example, if you run the following CredHub command, all applications using the config server will have the properties shared.color1 and shared.color2 available to them:

+
+
+
+
credhub set --name "/application/profile/master/shared" --type=json
+value: {"shared.color1": "blue", "shared.color": "red"}
+
+
+
+
+
credhub set --name "/my-app/default/master/more-shared" --type=json
+value: {"shared.word1": "hello", "shared.word2": "world"}
+
+
+

JDBC Backend

@@ -1658,6 +1677,7 @@ value: {"marketing.enabled": true, "external.enabled": false} When no profile is specified default will be used and when no label is specified master will be used as a default value. +NOTE: Values added to application will be shared by all the applications.