File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2440,11 +2440,11 @@ how to register handlers in the servlet container.
2440
2440
=== Sanitize sensible values
2441
2441
Information returned by the `env` and `configprops` endpoints can be somewhat sensitive
2442
2442
so keys matching a certain pattern are sanitized by default (i.e. their values are
2443
- replaced by `******`).
2443
+ replaced by `+ ******+ `).
2444
2444
2445
2445
Spring Boot uses sensible defaults for such keys: for instance, any key ending with the
2446
2446
word "password", "secret", "key" or "token" is sanitized. It is also possible to use a
2447
- regular expression instead, such as `*credentials.*` to sanitize any key that holds the
2447
+ regular expression instead, such as `+ *credentials.*+ ` to sanitize any key that holds the
2448
2448
word `credentials` as part of the key.
2449
2449
2450
2450
The patterns to use can be customized using the `endpoints.env.keys-to-sanitize` and
You can’t perform that action at this time.
0 commit comments