Skip to content

Support docker secrets in DNS Challenge configs #3128

Closed as not planned
Closed as not planned
@alaricljs

Description

@alaricljs

Is your feature request related to a problem? Please describe.

It's annoying to pull up my Cloudflare token every time I need to instantiate a new cert.

Describe the solution you'd like

It would be great if docker secrets could be used in place of manually entering the token. Ideally there would be support for multiple secrets but also multiple certificates could use the same secret. This would also allow for updating the token/secret without redoing the cert config in NPM.

The addition of *_secret=/run/secrets/... or similar within the challenge config makes for the least UI intensive implementation. Alternatively enumerating all ENV vars containing '/run/secrets/' for a drop-down UI style might be well received.

Describe alternatives you've considered

Nothing

Additional context

You alreayd have support for some runtime config via secrets, so I think this should be straight forward to implement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions