When I use the /actuator/configprops endpoint to get the @ConfigurationProperties bean details.

I want to show the sensitive configuration such as password. Since the official website documentation does not explain the detailed usage of configprops endpoint, reading the source code notes found that it is incorrect and cannot work


management:
  endpoint:
    configprops:
      keys-to-sanitize:
        - secret

Comment From: pivotal-issuemaster

@lltx Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@lltx Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@lltx good catch and thank you for making your first contribution to Spring Boot.