Support docker secrets api as a property source [SPR-17428] #21961
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
Caleb Cushing opened SPR-17428 and commented
The secrets API from inside fo a container, which is what I'm talking about is simply
/run/secrets/keyname (value is the contents of the file)
it appears that having a keyname that contains dots is allowed, so spring could simply look at that directory and for files with the same key name as they would be in a properties file.
https://docs.docker.com/engine/swarm/secrets/
https://diogomonica.com/2017/03/27/why-you-shouldnt-use-env-variables-for-secret-data/
No further details from SPR-17428
The text was updated successfully, but these errors were encountered: