From d56926eba63d31144f72d22eef2781e045134409 Mon Sep 17 00:00:00 2001 From: repos-jmp Date: Tue, 27 Jun 2017 20:32:45 +0530 Subject: [PATCH] Encryption file output tip. The encrypted output is right adjacent to the current speed value and causes confusion, added a tip for newcomers. --- docs/src/main/asciidoc/spring-cloud-config.adoc | 3 +++ 1 file changed, 3 insertions(+) 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):