From 069a79d9ef52e3f3f1860b73e9b78d8d69516911 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 8 Sep 2015 08:38:25 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-config.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/spring-cloud-config.html b/spring-cloud-config.html index aa7d8be4..07ebdb43 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -1087,6 +1087,16 @@ instance:

+

Encrypted values in a .properties file must not be wrapped in quotes, otherwise the value will not be decrypted:

+
+
+
application.properties
+
+
spring.datasource.username: dbuser
+spring.datasource.password: {cipher}FKSAJDFGYOS8F7GLHAKERGFHLSAJ
+
+
+

You can safely push this plain text to a shared git repository and the secret password is protected.

@@ -1479,7 +1489,7 @@ grabbing it in the bootstrap context and injecting one).