From b893374dc13ffdd73ab374ed929cc1c98761750b Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Wed, 27 Mar 2019 10:50:03 +0100 Subject: [PATCH] Add _FILE Environment Variable Documentation --- docs/content/https-tls/acme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/content/https-tls/acme.md b/docs/content/https-tls/acme.md index 3fdc38f56..fed176cab 100644 --- a/docs/content/https-tls/acme.md +++ b/docs/content/https-tls/acme.md @@ -110,7 +110,10 @@ Use the `DNS-01` challenge to generate and renew ACME certificates by provisioni Here is a list of supported `providers`, that can automate the DNS verification, along with the required environment variables and their [wildcard & root domain support](#wildcard-domains). -Do not hesitate to complete it. +Do not hesitate to complete it. + +Every lego environment variable can be overridden by their respective `_FILE` counterpart, which should have a filepath to a file that contains the secret as its value. +For example, `CF_API_EMAIL_FILE=/run/secrets/traefik_cf-api-email` could be used to provide a Cloudflare API email address as a Docker secret named `traefik_cf-api-email`. | Provider Name | Provider Code | Environment Variables | Wildcard & Root Domain Support | |-------------------------------------------------------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|