Skip to content

Support docker secrets api as a property source [SPR-17428] #21961

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions