org.springframework.boot.actuate.context.properties

Class ConfigurationPropertiesReportEndpoint

  • java.lang.Object
    • org.springframework.boot.actuate.context.properties.ConfigurationPropertiesReportEndpoint
  • All Implemented Interfaces:
    Aware, ApplicationContextAware


    @Endpoint(id="configprops")
    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.

    Since:
    2.0.0
    Author:
    Christian Dupuis, Dave Syer, Stephane Nicoll