how to access application.properties values in spring boot code example
Example: How to access a value defined in the application.properties file in Spring Boot
@Value("${userBucket.path}")
private String userBucketPath;
(Assumes you have a property in application.properties called userbucket.path)