This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 4.1.2!

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: 26969

{
  "activeProfiles" : [ ],
  "defaultProfiles" : [ "default" ],
  "propertySources" : [ {
    "name" : "servletContextInitParams",
    "properties" : { }
  }, {
    "name" : "systemProperties",
    "properties" : {
      "java.specification.version" : {
        "value" : "25"
      },
      "java.class.path" : {
        "value" : "/home/runner/.gradle/caches/9.8.1/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-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot-test/build/libs/spring-boot-test-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-actuator-autoconfigure/build/libs/spring-boot-actuator-autoconfigure-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-cache/build/libs/spring-boot-cache-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-flyway/build/libs/spring-boot-flyway-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-health/build/libs/spring-boot-health-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-webmvc/build/libs/spring-boot-webmvc-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-http-converter/build/libs/spring-boot-http-converter-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-integration/build/libs/spring-boot-integration-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-jackson/build/libs/spring-boot-jackson-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-liquibase/build/libs/spring-boot-liquibase-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-jdbc/build/libs/spring-boot-jdbc-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-micrometer-metrics/build/libs/spring-boot-micrometer-metrics-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-quartz/build/libs/spring-boot-quartz-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-reactor-netty/build/libs/spring-boot-reactor-netty-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-session/build/libs/spring-boot-session-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-tomcat/build/libs/spring-boot-tomcat-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-webflux/build/libs/spring-boot-webflux-4.2.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-registry-prometheus/1.18.0-RC1/ff9a2b73750d6d8e309286d285ca6e99cc0df789/micrometer-registry-prometheus-1.18.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-core/1.18.0-RC1/1e99d54e73227fd9855a001397fb43a2ae5e91e0/micrometer-core-1.18.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-exposition-formats/1.10.0/7a0fce3450004643755af1e34147fa6bc90956f2/prometheus-metrics-exposition-formats-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-mockmvc/4.1.0-RC1/43d7ddfa83be4753f8875b90bdcd226152fa269c/spring-restdocs-mockmvc-4.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-webtestclient/4.1.0-RC1/c1a25024a0f50e533d5b90772800eae9c71e3f09/spring-restdocs-webtestclient-4.1.0-RC1.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.24.0/961dc4a97bb33b749c287aa44f780cfa2fa6af38/mockito-junit-jupiter-5.24.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.5/3a0959903d420ba1ca087100a34063938ac0602b/logback-classic-1.6.5.jar:/home/runner/.gradle/caches/modules-2/files-2.1/com.h2database/h2/2.5.252/993ba74eafa574df15f4809f8082a12f67cad34b/h2-2.5.252.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-supplier-mvn3/2.0.24/575d15e8427e509754a3639ad558cb50c5eae683/maven-resolver-supplier-mvn3-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-resolver-provider/3.10.0/49ef606fd1cf4ff7828f8f3094e4c40b7182efa6/maven-resolver-provider-3.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-model-builder/3.10.0/c6a1e4079442e498f0183fc376be2cb2e3e75e7a/maven-model-builder-3.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-impl/2.0.24/ff1b82108c48eb69aabb4c2ea7b887da69df4cdf/maven-resolver-impl-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-connector-basic/2.0.24/d3c56e3d88f32a76ef8a049af344ba0a91f881ea/maven-resolver-connector-basic-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-transport-apache/2.0.24/ced2af8126da833a6f1ea493403b16c912a29f25/maven-resolver-transport-apache-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-util/2.0.24/1e8d9ff7ef457863a604fd6626637ae11bf61c90/maven-resolver-util-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-transport-file/2.0.24/55f43d4ca3744280a367ea68ffaca5ec2a97edec/maven-resolver-transport-file-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-spi/2.0.24/9738561c983e307b4e0482e0e18691b31507aa81/maven-resolver-spi-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven.resolver/maven-resolver-api/2.0.24/67e6bb218aa152542a71fe6e71b75903df1573ff/maven-resolver-api-2.0.24.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot-autoconfigure/build/libs/spring-boot-autoconfigure-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-actuator/build/libs/spring-boot-actuator-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-transaction/build/libs/spring-boot-transaction-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-sql/build/libs/spring-boot-sql-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-micrometer-observation/build/libs/spring-boot-micrometer-observation-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-web-server/build/libs/spring-boot-web-server-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-netty/build/libs/spring-boot-netty-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-http-codec/build/libs/spring-boot-http-codec-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-servlet/build/libs/spring-boot-servlet-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/module/spring-boot-persistence/build/libs/spring-boot-persistence-4.2.0-RC1.jar:/home/runner/work/spring-boot-commercial/spring-boot-commercial/core/spring-boot/build/libs/spring-boot-4.2.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-test/7.1.0-RC1/a4bf4e523219d171f45db9d8ddf5146e6e64322d/spring-test-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context-support/7.1.0-RC1/47d145f7ed30b24c450aec8428c288d7567a347e/spring-context-support-7.1.0-RC1.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-RC1/fbfb0ca719245163330f4d85e2c1f3244193454b/spring-webflux-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/7.1.0-RC1/75a0908315c4ec512f4ebeec5f367e16f1d83fca/spring-webmvc-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.restdocs/spring-restdocs-core/4.1.0-RC1/1890105d52cc73f48c57703106fd836311d1427a/spring-restdocs-core-4.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/7.1.0-RC1/722f5e5199068de5b853ebc936c0cd41859c1d31/spring-web-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-core/7.2.0-RC1/bf80c1d43cf28b56589b1175cc345ab405c29e04/spring-integration-core-7.2.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/tools.jackson.core/jackson-core/3.1.7/a2b54921d5528a9df7f014222d2d519a14858801/jackson-core-3.1.7.jar:/home/runner/.gradle/caches/modules-2/files-2.1/tools.jackson.core/jackson-databind/3.1.7/1f45f7dd68639c962435fae38ca100a70ccc0971/jackson-databind-3.1.7.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/7.1.0-RC1/d5001d5ab7e4141991d3797cdf6a4f3db6ff5e16/spring-jdbc-7.1.0-RC1.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-RC1/be6436ff744413d68830b64247f27fbf13bf48ad/reactor-netty-http-1.4.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework.session/spring-session-core/4.2.0-RC1/df59cd1d2f379525e99626d5e2095e4537cab8be/spring-session-core-4.2.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/11.0.27/30cc98777f843d290bbca645f15c54864cc64491/tomcat-embed-core-11.0.27.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.24.0/277dd2f725dd344fba6216f0bc611fae7fc4c1d8/mockito-core-5.24.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-RC1/25075368f0de525262c3186d1a45b2d98f63db8d/spring-context-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core-test/7.1.0-RC1/ef64dc4d3f535b62f621a141702aa90cf3916af7/spring-core-test-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/7.1.0-RC1/8fd30af6819de441a5de2c7a8161e9f997d2635d/spring-tx-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/7.1.0-RC1/54703159ff8fbfdb98975567079fceed8c49fdb8/spring-aop-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-messaging/7.1.0-RC1/79f87d2460debebd1daca73d0b81d5de72df7eba/spring-messaging-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/7.1.0-RC1/c056f02ffa90729c03bca9bb9123e7cc0885e631/spring-beans-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/7.1.0-RC1/fc95fac8583a3d3398eb23d3b60f4dbab3c1a376/spring-expression-7.1.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/7.1.0-RC1/589f609200aca97ab8cf4e09b285dfd94adbcc41/spring-core-7.1.0-RC1.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.15/ffff83d2b122d612acecd92029df4ed9b0472ffe/byte-buddy-1.18.15.jar:/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.18.15/de6980bb799c25bb1fe9e6c434201299cb5e694e/byte-buddy-agent-1.18.15.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.21.0/7bad013a5acee0a078d75fc352a906baa57acb74/commons-lang3-3.21.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-RC1/b9434560070e50c1ba879e2e9c06a5ccecb1008a/micrometer-observation-1.18.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.micrometer/micrometer-commons/1.18.0-RC1/aa228d0ae157fb5aad45d101761c698b000dc46e/micrometer-commons-1.18.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor.netty/reactor-netty-core/1.4.0-RC1/e1d4db1a69b7166385bbfaf8727ef3286324a68b/reactor-netty-core-1.4.0-RC1.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.9.0-RC1/e2196256902595af5bb9db52dd639ce4ba1f6e8/reactor-core-3.9.0-RC1.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.5/821f011acaffb543404e94bc35f651b483a5a161/logback-core-1.6.5.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/2.0.24/9d17f451a78f010cb0595fa1f7dfb68b9bed7edd/maven-resolver-named-locks-2.0.24.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/2.0.20/7fea9d92ba67e9b3c8f03515fb202b86a1fe44f6/slf4j-api-2.0.20.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.19.Final/c0e800f6265dbb5854d956b9ecdb2ca1f8a9d683/netty-codec-http2-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http3/4.2.19.Final/3b12c630b4ad5d968b8a52722658aaba018f821f/netty-codec-http3-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler-proxy/4.2.19.Final/6da1b66407b417323afc0abb61c16839e6ab66f/netty-handler-proxy-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.2.19.Final/14bc8cdb50ced3a4d51d09e2f1f869fb4046ac7f/netty-codec-http-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-native-macos/4.2.19.Final/2fe089df51a8d56a865d9244d0c597bd897d464/netty-resolver-dns-native-macos-4.2.19.Final-osx-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns-classes-macos/4.2.19.Final/3a9dfd59c92053126dbbdeb832ad80d6c33c4a75/netty-resolver-dns-classes-macos-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver-dns/4.2.19.Final/fc3043ad2fa4caacb01c527aa7c8cb5627e3504b/netty-resolver-dns-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-epoll/4.2.19.Final/1208085899aa9718a732750344e823518b3325fe/netty-transport-native-epoll-4.2.19.Final-linux-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.19.Final/82bcf3eaad459945dcac4a9715c4179755d8ebb5/netty-codec-native-quic-4.2.19.Final-linux-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.19.Final/c4ac2b52254b5d8f0e94edfb7022e0e8af136cb6/netty-codec-native-quic-4.2.19.Final-linux-aarch_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.19.Final/5ace5a484190287975633395fc5ba6bc8fa59537/netty-codec-native-quic-4.2.19.Final-osx-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.19.Final/952f18aee8f7ce6ad3787a0f0a989c6447cbb379/netty-codec-native-quic-4.2.19.Final-osx-aarch_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-native-quic/4.2.19.Final/d122ecb877640271cd89b50f16bea31a0a2b4be3/netty-codec-native-quic-4.2.19.Final-windows-x86_64.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-classes-quic/4.2.19.Final/eed316868ef101dd0fb4cb684c89112d658b113b/netty-codec-classes-quic-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.2.19.Final/6cfc1334a230b3c4c8325417fada299067648672/netty-handler-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-compression/4.2.19.Final/34392c72a81269eb2ef1b5f171ff9d93014188de/netty-codec-compression-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-dns/4.2.19.Final/f3e2a455d50afff74c5a2c0d0737e0563ae7960/netty-codec-dns-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-socks/4.2.19.Final/ac0652893932696257322ce3581e52b22da74982/netty-codec-socks-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-base/4.2.19.Final/abc65e2d8ff180f8f68bdefadb861f0e07b0a457/netty-codec-base-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-classes-epoll/4.2.19.Final/4c5ef5232c98a6b4786aaea66cf0c9b3fdd36298/netty-transport-classes-epoll-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-unix-common/4.2.19.Final/8ca98433d3ff179b2aab7f526a16435cb4242b7e/netty-transport-native-unix-common-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport/4.2.19.Final/52c2306d4b71cfbfc8a6ab9de1d083d2978c3b83/netty-transport-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-buffer/4.2.19.Final/c00e1256ce4f9c4ed44947bd8596be01d58141db/netty-buffer-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver/4.2.19.Final/58689765eb4fc7176aaa7e48b5350c34526d9887/netty-resolver-4.2.19.Final.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.2.19.Final/aae16e793dd13a63fc9a9935ff11fa19d0de7885/netty-common-4.2.19.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.10.0/6274137d7d5f7073384e256c01ec7dfcd915d590/prometheus-metrics-core-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-exposition-textformats/1.10.0/f9086029914365aff352abbcb25cf323d5c1fd08/prometheus-metrics-exposition-textformats-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-model/1.10.0/192e9f5a29272f0a20624fd8717ffa14c2bf6f44/prometheus-metrics-model-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-config/1.10.0/2e59b67a2935ea4288771437bd182b25aefa9bf0/prometheus-metrics-config-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/io.prometheus/prometheus-metrics-tracer-common/1.10.0/eb245b8fdabbe1ff1e50795e631a313ef67955aa/prometheus-metrics-tracer-common-1.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-model/3.10.0/f5dacf6efbc0cb13fe68cfa305beb95c6c75091/maven-model-3.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-repository-metadata/3.10.0/258df38658f65e6e9dea4e7a591f7d2729eb88e3/maven-repository-metadata-3.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.10.0/27e1f01911be3be075ea108d4fe8fd59ae717c5c/maven-artifact-3.10.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.codehaus.plexus/plexus-utils/3.6.2/c8e32e2f08fb3a0e6caf34f1448cc69f077f4282/plexus-utils-3.6.2.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.codehaus.plexus/plexus-interpolation/1.30.0/e48988a88cf1624451648f1c150e88c36aa724de/plexus-interpolation-1.30.0.jar:/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-builder-support/3.10.0/d2331adcf8b7064901224aafefc9bd9779a1d909/maven-builder-support-3.10.0.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.10.1/ada2141c0cc52ee8f5c48cd5fa4ce0e794f22236/asm-9.10.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

activeProfiles

Array

Names of the active profiles, if any.

defaultProfiles

Array

Names of the default profiles, if any.

propertySources

Array

Property sources in order of precedence.

propertySources.[].name

String

Name of the property source.

propertySources.[].properties

Object

Properties in the property source keyed by property name.

propertySources.[].properties.*.value

String

Value of the property.

propertySources.[].properties.*.origin

String

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

Object

Property from the environment, if found.

property.source

String

Name of the source of the property.

property.value

String

Value of the property.

activeProfiles

Array

Names of the active profiles, if any.

defaultProfiles

Array

Names of the default profiles, if any.

propertySources

Array

Property sources in order of precedence.

propertySources.[].name

String

Name of the property source.

propertySources.[].property

Object

Property in the property source, if any.

propertySources.[].property.value

Varies

Value of the property.

propertySources.[].property.origin

String

Origin of the property, if any.