Closed hongkongkiwi closed 4 years ago
Hi @hongkongkiwi, I started looking into this but it will require changes to the ACME client I am using (https://github.com/go-acme/lego) as it does not expose a convenient way to do this yet.
What about if the Vault plugin simply sets the appropriate environment variable itself before running lego?
What about if the Vault plugin simply sets the appropriate environment variable itself before running lego?
I would like to avoid this because it would require to take a lock every time we request a certificate with this type of DNS provider which could be cumbersome and slow things down. I added a map to look the value into before looking in the environment variables.
I would like to set the LetEncrypt DNS challenge variables in the account, rather than environment variables. e.g.
This would allow me to setup multiple LE accounts with different versions of providers (e.g. 2xCloudFlare accounts).