October 2018
Intermediate to advanced
982 pages
23h 29m
English
In the previous recipes, we have, a number of times, alluded to the fact that configuration values to a Spring Boot application can be passed and overridden by using OS environment variables. Operating systems rely on these variables to store information about various things. We probably have to set JAVA_HOME or PATH a few times, and these are examples of environment variables. OS environment variables is also a very important feature if one deploys their application using a PaaS system such as Heroku or Amazon AWS. In these environments, configuration values such as database access credentials and various API tokens are all provided over the environment variables.
Read now
Unlock full access