In Spring Boot, to resolve property values from environment variables, you can use the _____ placeholder in the application properties file.

  • ${config}
  • ${env}
  • ${property}
  • ${spring}
In Spring Boot, you can use the ${env} placeholder in the application properties file to resolve property values from environment variables. This is useful for configuring your Spring Boot application dynamically based on the environment it runs in, such as setting database connection parameters or API keys from environment variables.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *