From db781bbc3168f5e9e9f13ce46cb402c4e0cfc4fe Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 18 Mar 2016 12:00:10 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-config.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/spring-cloud-config.html b/spring-cloud-config.html index f3c859fe..8e6c5a30 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -437,6 +437,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • Key Management
  • Creating a Key Store for Testing
  • Using Multiple Keys and Key Rotation
  • +
  • Serving Encrypted Properties
  • Serving Plain Text
  • @@ -1564,6 +1565,19 @@ handle all encryption as well as decryption. +
    +

    Serving Encrypted Properties

    +
    +

    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 +key nor the enabled flag.

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