mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #14708 from Johnny Lim
* gh-14708: Fix broken Asciidoctor syntax
This commit is contained in:
commit
2c7b74db00
@ -2440,11 +2440,11 @@ how to register handlers in the servlet container.
|
|||||||
=== Sanitize sensible values
|
=== Sanitize sensible values
|
||||||
Information returned by the `env` and `configprops` endpoints can be somewhat sensitive
|
Information returned by the `env` and `configprops` endpoints can be somewhat sensitive
|
||||||
so keys matching a certain pattern are sanitized by default (i.e. their values are
|
so keys matching a certain pattern are sanitized by default (i.e. their values are
|
||||||
replaced by `******`).
|
replaced by `+******+`).
|
||||||
|
|
||||||
Spring Boot uses sensible defaults for such keys: for instance, any key ending with the
|
Spring Boot uses sensible defaults for such keys: for instance, any key ending with the
|
||||||
word "password", "secret", "key" or "token" is sanitized. It is also possible to use a
|
word "password", "secret", "key" or "token" is sanitized. It is also possible to use a
|
||||||
regular expression instead, such as `*credentials.*` to sanitize any key that holds the
|
regular expression instead, such as `+*credentials.*+` to sanitize any key that holds the
|
||||||
word `credentials` as part of the key.
|
word `credentials` as part of the key.
|
||||||
|
|
||||||
The patterns to use can be customized using the `endpoints.env.keys-to-sanitize` and
|
The patterns to use can be customized using the `endpoints.env.keys-to-sanitize` and
|
||||||
|
Loading…
Reference in New Issue
Block a user