Class ConfigurationPropertiesReportEndpoint

  • java.lang.Object
  • All Implemented Interfaces:
    Aware, ApplicationContextAware

    public class ConfigurationPropertiesReportEndpoint
    extends Object
    implements ApplicationContextAware
    Endpoint to expose application properties from ConfigurationProperties annotated beans.

    To protect sensitive information from being exposed, certain property values are masked if their names end with a set of configurable values (default "password" and "secret"). Configure property names by using endpoints.configprops.keys_to_sanitize in your Spring Boot application configuration.

    Christian Dupuis, Dave Syer, Stephane Nicoll