spring boot application.properties read value 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)