credhub set --name "/application/profile/master/shared" --type=json
+value: {"shared.color1": "blue", "shared.color": "red"}
+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 +
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"}
+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.
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"}
+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.