by throwaway8r8te · 2y ago · 0 comments
"Spring" has that. You can define a property that can be populated from pluggable sources, like vaults, yaml, environment variables and others.
You just add an annotation @Value("${foo.bar}") to a field or constructor parameter, and it will be filled from the appropriate source automatically.
No comments yet.