Environment variables in Spring Boot project Different ways to access environment variables at run time from Spring Boot project. System.getenv() placeholder from settings files(*.properties, *.yaml, *.yml) @Value annotation