From d22b06207cbfbf7f271aa5be2405e42de76a9311 Mon Sep 17 00:00:00 2001
From: buildmaster
![]() | Tip |
|---|---|
If you want to let the Config Server handle all encryption as well as decryption, the |
Sometimes you want the clients to decrypt the configuration locally, instead of doing it in the server.
-In that case, if you provide the encrypt.* configuration to locate a key, you can still have /encrypt and /decrypt endpoints, but you need to explicitly switch off the decryption of outgoing properties by setting spring.cloud.config.server.encrypt.enabled=false.
+In that case, if you provide the encrypt.* configuration to locate a key, you can still have /encrypt and /decrypt endpoints, but you need to explicitly switch off the decryption of outgoing properties by placing spring.cloud.config.server.encrypt.enabled=false in bootstrap.[yml|properties].
If you do not care about the endpoints, it should work if you do not configure either the key or the enabled flag.