diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index b94eb3fd..503bb6f0 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -818,6 +818,9 @@ $ curl localhost:8888/encrypt -d mysecret NOTE: If the value you are encrypting has characters in it that need to be URL encoded you should use the `--data-urlencode` option to `curl` to make sure they are encoded properly. +TIP: Be sure not to include any of the curl command statistics in the encrypted value. +Outputting the value to a file can help avoid this problem. + The inverse operation is also available via `/decrypt` (provided the server is configured with a symmetric key or a full key pair):