I would like to NOT retrieve this property that way:
@Value("${spring.profiles.active:local}")
private String profile;
I wonder if there's actually a Spring Boot property bean - i.e. annotated with @ConfigurationProperties
- which holds the spring.profiles.active
(which is a Spring property, not Spring Boot's).
The same way we have e.g. SecurityProperties
holding the spring.security
prefix.
Thanks.