Upgrade go-acme/lego to v4 and set provider_configuration as environment variables, which is then read by lego, so that we don't have to use a customized fork of lego.
Fix deprecations and warnings
I have confirmed that tests pass by running make test and make testacc. I also built and tested the plugin in a test Vault environment by issuing some test certificates using Cloudflare as my DNS challenge provider.
This PR upgrades and modernizes the codebase:
go-acme/lego
to v4 and setprovider_configuration
as environment variables, which is then read by lego, so that we don't have to use a customized fork of lego.I have confirmed that tests pass by running
make test
andmake testacc
. I also built and tested the plugin in a test Vault environment by issuing some test certificates using Cloudflare as my DNS challenge provider.This PR supersedes #44