From 8da878bc02918b7ea57fd67158aa4d8901d0c341 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 4 Jun 2018 11:19:36 -0400 Subject: [PATCH] Document location of spring.cloud.config.server.encrypt.enabled. Fixes 887. --- docs/src/main/asciidoc/spring-cloud-config.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index f4ab6f8a..ec9e15e8 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -1035,9 +1035,9 @@ Sometimes you want the clients to decrypt the configuration locally, instead of doing it in the server. In that case you can still have /encrypt and /decrypt endpoints (if you provide the `encrypt.*` configuration to locate a key), but you need to explicitly switch off -the decryption of outgoing properties using -`spring.cloud.config.server.encrypt.enabled=false`. If you don't care -about the endpoints, then it should work if you configure neither the +the decryption of outgoing properties by placing +`spring.cloud.config.server.encrypt.enabled=false` in `bootstrap.[yml|properties]`. +If you don't care about the endpoints, then it should work if you configure neither the key nor the enabled flag. == Serving Alternative Formats