diff --git a/spring-cloud-config.html b/spring-cloud-config.html index c42792aa..b6b63368 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -1173,6 +1173,21 @@ configured with a symmetric key or a full key pair):
mysecret +|
+ Tip
+ |
+
+If you are testing like this with curl, then use
+--data-urlencode (instead of -d) or set an explicit Content-Type:
+text/plain to make sure curl encodes the data correctly when there
+are special characters ('+' is particularly tricky).
+ |
+
Take the encrypted value and add the {cipher} prefix before you put
it in the YAML or properties file, and before you commit and push it
@@ -1704,7 +1719,7 @@ grabbing it in the bootstrap context and injecting one).