infinityofspace / certbot_dns_duckdns

Plugin for certbot for a DNS-01 challenge with a DuckDNS domain.
MIT License
76 stars 17 forks source link

[Enhancement]: Support Docker Secrets for handling secrets #144

Closed infinityofspace closed 1 month ago

infinityofspace commented 3 months ago

Problem description

Currently, the docker image only supports config files or command arguments to provide credentials or email addresses. All these methods does not support centrally managing or deploy the secrets in a Docker Swarm.

Solution description

The Docker Secrets allows managing secrets in a Docker swarm. All specified secrets will be mounted at /run/secrets at runtime. During the initialization, the container reads the value from the path instead of the environment file. The secret path will be provided by the environment variable name with a _FILE suffix.

This feature requires the environment support #143 to be implemented beforehand.

Checklist