Class ConfigurationPropertiesReportEndpoint

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Endpoint(id="configprops")
    public class ConfigurationPropertiesReportEndpoint
    extends Object
    implements org.springframework.context.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