|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 4.1.1! |
Environment (env)
The env endpoint provides information about the application’s Environment.
Retrieving the Entire Environment
To retrieve the entire environment, make a GET request to /actuator/env, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/env' -i -X GET
The resulting response is similar to the following:
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 26832
{
"activeProfiles" : [ ],
"defaultProfiles" : [ "default" ],
"propertySources" : [ {
"name" : "servletContextInitParams",
"properties" : { }
}, {
"name" : "systemProperties",
"properties" : {
"java.specification.version" : {
"value" : "25"
},
"java.class.path" : {
"value" : "/home/runner/.gradle/caches/9.7.0/workerMain/gradle-worker.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/documentation/spring-boot-actuator-docs/build/classes/java/test:/home/runner/work/spring-boot-commercial/spring-boot-commercial/documentation/spring-boot-actuator-docs/build/resources/test:/home/runner/work/spring-boot-commercial/spring-boot-commercial/test-support/spring-boot-test-support/build/libs/spring-boot-test-support-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot-test/build/libs/spring-boot-test-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-actuator-autoconfigure/build/libs/spring-boot-actuator-autoconfigure-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-cache/build/libs/spring-boot-cache-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-flyway/build/libs/spring-boot-flyway-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-health/build/libs/spring-boot-health-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-webmvc/build/libs/spring-boot-webmvc-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-http-converter/build/libs/spring-boot-http-converter-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-integration/build/libs/spring-boot-integration-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-jackson/build/libs/spring-boot-jackson-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-liquibase/build/libs/spring-boot-liquibase-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-jdbc/build/libs/spring-boot-jdbc-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-micrometer-metrics/build/libs/spring-boot-micrometer-metrics-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-quartz/build/libs/spring-boot-quartz-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-reactor-netty/build/libs/spring-boot-reactor-netty-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-session/build/libs/spring-boot-session-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-tomcat/build/libs/spring-boot-tomcat-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-webflux/build/libs/spring-boot-webflux-4.2.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-registry-prometheus/1.18.0-M2/e4e749394bdb860b7f0c0afd20f46c934468fe21/micrometer-registry-prometheus-1.18.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-core/1.18.0-M2/1f2bf7ccd6724ebb83711a83b8f2fe9d0b5a56af/micrometer-core-1.18.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-exposition-formats/1.9.0/e1aa743f1230c2171e926c9fceaf00b4a9d6b0f/prometheus-metrics-exposition-formats-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-mockmvc/4.0.1/dcc2c2b92fa24d2222db8cfeed647dc3bc244bb7/spring-restdocs-mockmvc-4.0.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-webtestclient/4.0.1/632e53f13ac477d384f8b3e0f83f5cc0dfd46d63/spring-restdocs-webtestclient-4.0.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter/6.1.3/cd72619e9eb4cf64e30a87615a4f9b50a80ce103/junit-jupiter-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/6.1.3/3778a548f15693db463c3d090b419c64b486b848/junit-jupiter-engine-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-junit-jupiter/5.23.0/e66b5f34ffea58bf4388aba58f66a209daeba4fd/mockito-junit-jupiter-5.23.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/6.1.3/435fa4ec654c11fb82e666a47d9baefcee3f8df6/junit-jupiter-params-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/6.1.3/6a57f0ce4d6bfe9784d103077055ba39f3e6f638/junit-jupiter-api-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/6.1.3/e48a6061b576ebe36eac3b518dc917c23d119a91/junit-platform-engine-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/6.1.3/acb99d3482ea51fcbcc4f6ea8672761e2b3d5bb7/junit-platform-commons-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-launcher/6.1.3/dad54f7f53b702e6e6f873bc19903dfec870bf1b/junit-platform-launcher-6.1.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.6.3/a8fc332633a9da2e543afb20357b7a015437f0a9/logback-classic-1.6.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.h2database/h2/2.5.250/c04a84d307abe871451edbcc71e00b43a2a3ee33/h2-2.5.250.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-supplier/1.9.27/538c7d2d09a33c374c1fc7ab27fa00f461ce26c4/maven-resolver-supplier-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-resolver-provider/3.9.13/ab689aca61aaf3a27b048691a23ca64ebe913aec/maven-resolver-provider-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-model-builder/3.9.13/d4d3b2ce476a73f6ac6edc35f4f89be37d99f990/maven-model-builder-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-impl/1.9.27/876fc89223d9572cade60a1b8158846724548d07/maven-resolver-impl-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-connector-basic/1.9.27/219c1f8c3289b9382b1f86fc278430d3a22968c3/maven-resolver-connector-basic-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-transport-file/1.9.27/89a2b09002672807c05b3b10afccbcb9cfcd8486/maven-resolver-transport-file-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-transport-http/1.9.27/6931510aec55201631d9d904a7d4f8f81541a335/maven-resolver-transport-http-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-spi/1.9.27/fb64e47acdc73f938b4d5b6464ef7a6351f983d5/maven-resolver-spi-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-util/1.9.27/7ee4446af6aab27475765ec9c9dc1fb2b082af2b/maven-resolver-util-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-api/1.9.27/2fe7e86e3c193121789470507cf4fadd5bd7ad59/maven-resolver-api-1.9.27.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot-autoconfigure/build/libs/spring-boot-autoconfigure-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-actuator/build/libs/spring-boot-actuator-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-transaction/build/libs/spring-boot-transaction-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-sql/build/libs/spring-boot-sql-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-micrometer-observation/build/libs/spring-boot-micrometer-observation-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-web-server/build/libs/spring-boot-web-server-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-netty/build/libs/spring-boot-netty-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-http-codec/build/libs/spring-boot-http-codec-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-servlet/build/libs/spring-boot-servlet-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-persistence/build/libs/spring-boot-persistence-4.2.0-M2.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot/build/libs/spring-boot-4.2.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-test/7.1.0-M2/ccbff0fa8f386d5cd4015c5c3fe7d37ca059c38b/spring-test-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context-support/7.1.0-M2/8b08881b4ac593c6b6b2d1b9ba9b8f62c2357b88/spring-context-support-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.flywaydb/flyway-core/12.11.0/99b145893a0492379b10aae207a7633b0790aa1f/flyway-core-12.11.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webflux/7.1.0-M2/fa00978a980dac7b9de6979a397be5325480c296/spring-webflux-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/7.1.0-M2/35c75b0524127e20c906135a3e3883b63b6d117/spring-webmvc-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-core/4.0.1/e711b16a002a2fcf1ce51dba773a9bd81ab51e11/spring-restdocs-core-4.0.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/7.1.0-M2/c03a91be05323db7beb3981a599de9a05b33af78/spring-web-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-core/7.2.0-M2/31ab1210fb40310477fdba334cf5098b6e2be07d/spring-integration-core-7.2.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/tools.jackson.core/jackson-core/3.1.6/6c6b0ebc04da57cf7b115dfc46807111bfd6c134/jackson-core-3.1.6.jar:/home/runner/.gradle/caches/modules-2/files-2.1/tools.jackson.core/jackson-databind/3.1.6/ffe06306171218710bd2b4b1aafb4e0ada77eea/jackson-databind-3.1.6.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/7.1.0-M2/dac10e47aff2e1bc051d64543ce2b90f26044127/spring-jdbc-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.liquibase/liquibase-core/5.0.4/77ef89e19e44b6cd4b3bacb4011ecbcac7fecc5e/liquibase-core-5.0.4.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.quartz-scheduler/quartz/2.5.2/2c3a3d8dc34774607e73370352bb1c1beb82b71a/quartz-2.5.2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-http/1.4.0-M2/b815cc7c44a3557f84d28174f60f94961d9e23af/reactor-netty-http-1.4.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.session/spring-session-core/4.2.0-M1/c68e9cb3ca94d7c07e6b7a8d835a0a4cf150198d/spring-session-core-4.2.0-M1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/11.0.26/69a9d83a248bead83141f0e4215b896ef6639c12/tomcat-embed-core-11.0.26.jar:/home/runner/.gradle/caches/modules-2/files-2.1/jakarta.annotation/jakarta.annotation-api/3.0.0/54f928fadec906a99d558536756d171917b9d936/jakarta.annotation-api-3.0.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/3.0.0/53913e54e804386c8e375e567410bb2c86666ad/json-path-3.0.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.assertj/assertj-core/3.27.7/2f4f64f054c9d618d4b1d89e7611559f5e2cfff7/assertj-core-3.27.7.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.awaitility/awaitility/4.3.0/f0c0bc1e404e500bab3f498b922eaedeae1c0207/awaitility-4.3.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/3.0/d42c7c6c28654a3d1eb654edaa82fd85c01ce417/hamcrest-library-3.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/3.0/254f69f4b0ca22198acfc19fcdd5f96140431c3e/hamcrest-core-3.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/5.23.0/a5cf3cf244300e4cd05f779827cf50d373a8460e/mockito-core-5.23.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.skyscreamer/jsonassert/1.5.3/aaa43e0823d2a0e106e8754d6a9c4ab24e05e9bc/jsonassert-1.5.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/7.1.0-M2/d04d4e1b844dc112d6f6de95f04f86cdd92ef642/spring-context-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core-test/7.1.0-M2/8f21c78f1e772f28c2c054395bed5d831eb0fcc2/spring-core-test-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/7.1.0-M2/7c217a2ef321547629223b9bbe66c7159f18af27/spring-tx-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/7.1.0-M2/31b8bda2b3c41e59579d759111b61779456da7d5/spring-aop-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-messaging/7.1.0-M2/d376237db2215178f02741082d7c84b5dfd330fe/spring-messaging-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/7.1.0-M2/f689ecb69f38e8cb5aa7f6af3ddcdffe0127cc5b/spring-beans-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/7.1.0-M2/12c4dbe7f6bec4cacb7765112337061b9062da1a/spring-expression-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/7.1.0-M2/38f47a2f61c361e7a6df84e0bfe485231e6693c/spring-core-7.1.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/jakarta.inject/jakarta.inject-api/2.0.1/4c28afe1991a941d7702fe1362c365f0a8641d1e/jakarta.inject-api-2.0.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.18.14/e26b6f5163f36a5ef91f84eea1befae54e11eb76/byte-buddy-1.18.14.jar:/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.18.14/e93d864fba1ced20276e72823129bb81fd1d5ad8/byte-buddy-agent-1.18.14.jar:/home/runner/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.22.1/da09bcdb330deef7cfee70f30c6889fda70d5ebf/commons-codec-1.22.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.opencsv/opencsv/5.12.0/bc55d53c0961f8b191c96276e778a9ec67f7dd58/opencsv-5.12.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-text/1.15.0/9899093aa40f0199d6c39b131b8f087cdb37e399/commons-text-1.15.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.20.0/65897b3e5731220962e659e001904af3c3cbeba9/commons-lang3-3.20.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.4.0/e8f6313365dfa0580e49c58837afc8caa9b4ce05/commons-logging-1.4.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.14.0/efc0e34ede4e3204eaefb84a00e55e8c86634382/gson-2.14.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest/3.0/8fd9b78a8e6a6510a078a9e30e9e86a6035cfaf7/hamcrest-3.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.5.14/1194890e6f56ec29177673f2f12d0b8e627dec98/httpclient-4.5.14.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.16/51cf043c87253c9f58b539c9f7e44c8894223850/httpcore-4.4.16.jar:/home/runner/.gradle/caches/modules-2/files-2.1/jakarta.xml.bind/jakarta.xml.bind-api/4.0.5/161811f36cad3c65991502e80317f2f6703361df/jakarta.xml.bind-api-4.0.5.jar:/home/runner/.gradle/caches/modules-2/files-2.1/jakarta.activation/jakarta.activation-api/2.1.4/9e5c2a0d75dde71a0bedc4dbdbe47b78a5dc50f8/jakarta.activation-api-2.1.4.jar:/home/runner/.gradle/caches/modules-2/files-2.1/jakarta.servlet/jakarta.servlet-api/6.1.0/1169a246913fe3823782af7943e7a103634867c5/jakarta.servlet-api-6.1.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.samskivert/jmustache/1.16/979c7145a406b83bf28da32531f88a34c2d2919c/jmustache-1.16.jar:/home/runner/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.6.0/5f858a43a325a8673da6869ab2bc787a1bcb2244/json-smart-2.6.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-observation/1.18.0-M2/9d6e62f3b3fc5c36462f4dd1d60689a10863e73d/micrometer-observation-1.18.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-commons/1.18.0-M2/5957363dfef1cdbdc3fb62f1c89819cb057ed8ca/micrometer-commons-1.18.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-core/1.4.0-M2/6be3395bb5229e3ea7c7fed1000880539d865b52/reactor-netty-core-1.4.0-M2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.8.7/cf54bb43d59d6bb9b3ba5c160c975d4a18f351ab/reactor-core-3.8.7.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.jspecify/jspecify/1.0.1/3d60fd98eb8ade73004f4195c37b6317e02cf3d7/jspecify-1.0.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.6.3/ae9a279c723035307735fc4daf527a9076ea3f77/logback-core-1.6.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.reactivestreams/reactive-streams/1.0.4/3864a1320d97d7b045f729a326e1e077661f31b7/reactive-streams-1.0.4.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-named-locks/1.9.27/72c89ad87be374309a7308ee144949360ed482e8/maven-resolver-named-locks-1.9.27.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/2.0.19/efad9817997b3a6ce9e058f92e612917a744c290/slf4j-api-2.0.19.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/2.7/47713fda569f07641538ff7f2fa9cb3ead4603e5/snakeyaml-2.7.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http2/4.2.18.Final/a0f08f3697a570cb1eae4abfd6637f6facb2fe57/netty-codec-http2-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http3/4.2.18.Final/2776049d9acabac6a2da9346c5ffb9ac1436fc29/netty-codec-http3-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.2.18.Final/56176147f9e2d8186a277695a49cff2dab70d747/netty-handler-proxy-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.2.18.Final/25d8eed33ee14c6691250df4115604cf6a41340a/netty-codec-http-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-native-macos/4.2.18.Final/1c465834487b71623d2746a2859ab89f9c992717/netty-resolver-dns-native-macos-4.2.18.Final-osx-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-classes-macos/4.2.18.Final/5dfec8173e4646dd150917f44eeb029fc632136e/netty-resolver-dns-classes-macos-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns/4.2.18.Final/139f12718e993ebb19f64ef5eb95167f69dc97bf/netty-resolver-dns-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-epoll/4.2.18.Final/1e4e4669e1e7b98f898b322f29c9106bb37d7952/netty-transport-native-epoll-4.2.18.Final-linux-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.18.Final/4841f339d9e4729712da0988d767d38ee1829ed2/netty-codec-native-quic-4.2.18.Final-linux-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.18.Final/10293f8920dd974eb05da4991407a16694649f64/netty-codec-native-quic-4.2.18.Final-linux-aarch_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.18.Final/b6ab3af5136cf7daedb1f85beb7708fadb2fed36/netty-codec-native-quic-4.2.18.Final-osx-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.18.Final/c6755e7c1797f813858a18b43eb3a61ff97e4994/netty-codec-native-quic-4.2.18.Final-osx-aarch_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.18.Final/eb03e3bf0e67325132dfc942142195f02d65a5fa/netty-codec-native-quic-4.2.18.Final-windows-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-classes-quic/4.2.18.Final/cc350fcbcd92876d5de11d54e68f63f0ebb6e10b/netty-codec-classes-quic-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.2.18.Final/b946698c37ab69603a4f0df8180f9594d89cf4b7/netty-handler-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-compression/4.2.18.Final/f6f9e4372da33ca4f96b7af528ec8c26932f9fde/netty-codec-compression-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-dns/4.2.18.Final/b89710bfb47ad07d5fd936829aba9a06fcfbcd0a/netty-codec-dns-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.2.18.Final/4a3bf2cc5051c3c35076d0dd8528ebcce440258e/netty-codec-socks-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-base/4.2.18.Final/58739f9f05f1806e1117401e1982b04d7a02f3b/netty-codec-base-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.2.18.Final/f8ecad45ec66d1b3b860f78f0e74612fd62c48c3/netty-transport-classes-epoll-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-unix-common/4.2.18.Final/b9dbd51d2802e447630ef2b8bba56bb5aaad1f82/netty-transport-native-unix-common-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport/4.2.18.Final/14ad66183e0456621161e60b41ca2abdcf9bd15c/netty-transport-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-buffer/4.2.18.Final/62e970871a61c58ff7164e076bb8032a1ea444af/netty-buffer-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver/4.2.18.Final/9d21e01c476a1f92b9dc07d968d2a02810b2fba1/netty-resolver-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.2.18.Final/aa06ef3310c8ad1e506ec14ab3794f9e26438121/netty-common-4.2.18.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.vaadin.external.google/android-json/0.0.20131108.vaadin1/fa26d351fe62a6a17f5cda1287c1c6110dec413f/android-json-0.0.20131108.vaadin1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-collections4/4.6.0/e3f46a0753e01b8397363ba0edbfb6ec38dedf0a/commons-collections4-4.6.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.22.0/5b1e18bc0ad651ed878029d83f88d9c8189fd51e/commons-io-2.22.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.21/b1bc1868bf02dc0bd6c7836257a036a331005309/jackson-annotations-2.21.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-core/1.9.0/83bc3076efee5c7e5c2ad6932b91bc058bac20f7/prometheus-metrics-core-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-exposition-textformats/1.9.0/1cdc586efb9272e8f9ae43c3a881177b72792e81/prometheus-metrics-exposition-textformats-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-model/1.9.0/23f973f90ef143e96d7bc0dd37c6c09e071be7d1/prometheus-metrics-model-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-config/1.9.0/c8f23eb76575eb91628a16952aa4d9432fa43f14/prometheus-metrics-config-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-tracer-common/1.9.0/a3f7289067cf6d286a1cd93075be42c269a2fee8/prometheus-metrics-tracer-common-1.9.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-model/3.9.13/26c1ad1d305ee6d3e3b0e81bb8124d3fb4c52030/maven-model-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-repository-metadata/3.9.13/dcb8ae5f9954a9a798588a96aec1b94436f4cf73/maven-repository-metadata-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.9.13/84700887f5cace819b2d5020b04f18317c57f812/maven-artifact-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.codehaus.plexus/plexus-utils/3.6.0/e8bc129728f22671a36fff3b604edcd39073a7b1/plexus-utils-3.6.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.codehaus.plexus/plexus-interpolation/1.29/5dd1b1fbaca263ad5baa169fbd8e804c789c9db5/plexus-interpolation-1.29.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-builder-support/3.9.13/fda379b97d5acd4caa4ae2707032f74959993fc6/maven-builder-support-3.9.13.jar:/home/runner/.gradle/caches/modules-2/files-2.1/net.minidev/accessors-smart/2.6.0/2d96f1d9b6ab7f13261aa81b15703574185747a0/accessors-smart-2.6.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/9.9.1/2ceea6ab43bcae1979b2a6d85fc0ca429877e5ab/asm-9.9.1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.hdrhistogram/HdrHistogram/2.2.2/7959933ebcc0f05b2eaa5af0a0c8689fa257b15c/HdrHistogram-2.2.2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/3.3/1049c09f1de4331e8193e579448d0916d75b7631/objenesis-3.3.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.thoughtworks.qdox/qdox/2.2.0/39651eb3ce73d6e506490ea352e1e13eab6b55e8/qdox-2.2.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.google.errorprone/error_prone_annotations/2.48.0/bbe30942a31d1778c74cb272321267eca82dc708/error_prone_annotations-2.48.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.opentest4j/opentest4j/1.3.0/152ea56b3a72f655d4fd677fc0ef2596c3dd5e6e/opentest4j-1.3.0.jar"
},
"java.vm.vendor" : {
"value" : "BellSoft"
}
}
}, {
"name" : "systemEnvironment",
"properties" : {
"JAVA_HOME" : {
"origin" : "System Environment Property \"JAVA_HOME\"",
"value" : "/opt/hostedtoolcache/Java_Liberica_jdk/25.0.4-9/x64"
}
}
}, {
"name" : "Config resource 'class path resource [org/springframework/boot/actuate/docs/env/application.properties]' via location 'classpath:/org/springframework/boot/actuate/docs/env/'",
"properties" : {
"com.example.cache.max-size" : {
"origin" : "class path resource [org/springframework/boot/actuate/docs/env/application.properties] - 1:29",
"value" : "1000"
}
}
}, {
"name" : "applicationInfo",
"properties" : { }
} ]
}
| Sanitization of sensitive values has been switched off for this example. |
Response Structure
The response contains details of the application’s Environment.
The following table describes the structure of the response:
| Path | Type | Description |
|---|---|---|
|
|
Names of the active profiles, if any. |
|
|
Names of the default profiles, if any. |
|
|
Property sources in order of precedence. |
|
|
Name of the property source. |
|
|
Properties in the property source keyed by property name. |
|
|
Value of the property. |
|
|
Origin of the property, if any. |
Retrieving a Single Property
To retrieve a single property, make a GET request to /actuator/env/{property.name}, as shown in the following curl-based example:
$ curl 'http://localhost:8080/actuator/env/com.example.cache.max-size' -i -X GET
The preceding example retrieves information about the property named com.example.cache.max-size.
The resulting response is similar to the following:
HTTP/1.1 200 OK
Content-Disposition: inline;filename=f.txt
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 722
{"activeProfiles":[],"defaultProfiles":["default"],"property":{"source":"Config resource 'class path resource [org/springframework/boot/actuate/docs/env/application.properties]' via location 'classpath:/org/springframework/boot/actuate/docs/env/'","value":"1000"},"propertySources":[{"name":"servletContextInitParams"},{"name":"systemProperties"},{"name":"systemEnvironment"},{"name":"Config resource 'class path resource [org/springframework/boot/actuate/docs/env/application.properties]' via location 'classpath:/org/springframework/boot/actuate/docs/env/'","property":{"origin":"class path resource [org/springframework/boot/actuate/docs/env/application.properties] - 1:29","value":"1000"}},{"name":"applicationInfo"}]}
| Sanitization of sensitive values has been switched off for this example. |
Response Structure
The response contains details of the requested property. The following table describes the structure of the response:
| Path | Type | Description |
|---|---|---|
|
|
Property from the environment, if found. |
|
|
Name of the source of the property. |
|
|
Value of the property. |
|
|
Names of the active profiles, if any. |
|
|
Names of the default profiles, if any. |
|
|
Property sources in order of precedence. |
|
|
Name of the property source. |
|
|
Property in the property source, if any. |
|
|
Value of the property. |
|
|
Origin of the property, if any. |