From 93b7cd2e4566a7019652cedbec9b9ca269f347d1 Mon Sep 17 00:00:00 2001 From: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> Date: Wed, 27 Dec 2023 14:48:45 -0500 Subject: [PATCH] Merging documentation changes --- .../property-source-config/secrets-propertysource.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/modules/ROOT/pages/property-source-config/secrets-propertysource.adoc b/docs/modules/ROOT/pages/property-source-config/secrets-propertysource.adoc index 7817dd85..610e6cc8 100644 --- a/docs/modules/ROOT/pages/property-source-config/secrets-propertysource.adoc +++ b/docs/modules/ROOT/pages/property-source-config/secrets-propertysource.adoc @@ -148,6 +148,15 @@ NOTE: If you already have `spring-retry` and `spring-boot-starter-aop` on the cl and want to enable fail-fast, but do not want retry to be enabled; you can disable retry for `Secrets` `PropertySources` by setting `spring.cloud.kubernetes.secrets.retry.enabled=false`. +Since data coming from Secrets is usually treated as sensitive, endpoints of the actuator `/env` and `/configprops` can be made to sanitize data, so that it is not displayed in plain text. In order to do that, you need to set: + +[source] +---- +spring.cloud.kubernetes.sanitize.secrets=true +---- + +This setting is supported since `3.0.6` and upwards. + .Properties: [options="header,footer"] |===