-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Azure DNS OIDC support #2027
Comments
Hello, I think it's better to open an issue inside the repo https://github.com/vancluever/terraform-provider-acme |
@pchanvallon do you have an idea? |
Hello, at the moment this authentication method is not embedded in the |
Testing on local machine bypassing Terraform ACME provider Ensure cli is logged out
Export environment variables (Values taken from Terraform Cloud agent runner)
Also exported last two envs as
What seems to work is putting the I will see if I can do this in Terraform but would prefer if it works out of the box.
Thanks! |
Yes this case is working because it is the mechanism used by Workload Identity Authentication as described in this doc. |
Welcome
How do you use lego?
Through Terraform ACME provider
Detailed Description
The Terraform ACME provider with "azuredns" config has failed to authenticate via OIDC token provided by Terraform Dynamic Credentials.
Not sure if it a misconfig on my side. I was only passing
AZURE_RESOURCE_GROUP
and got 401. I attempted to pass the vars by hand but didn't work and still getting 401.I don't see any mention of generic OIDC being supported in the docs https://go-acme.github.io/lego/dns/azuredns/ for things like Terraform Cloud or GitHub Actions for example.
Would love to see this supported to avoid static secrets, thank you.
The text was updated successfully, but these errors were encountered: