Actuator Endpoint - Env

Exposes properties from Spring’s ConfigurableEnvironment.

env
Third-party endpoint2 operationsNot exposed by default
1

Turn the endpoint on and expose it over the web. One entry covers every operation. By default only info, health and status are exposed.

1
2
management.endpoint.env.access=UNRESTRICTED
management.endpoints.web.exposure.include=env

Endpoints may be mapped to other paths. For example, to serve health at healthcheck:

1
management.endpoints.web.path-mapping.health=healthcheck