Better HN
topnewbestaskshowjobs
Log inSign up

throwaway8r8te

1 karma · joined Jul 13, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

> Why haven't we seen a generic "secrets client" library, with pluggable adapters

"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.