go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
7.44k stars 985 forks source link

ovh: add OAuth2 authentication #2173

Closed Idix closed 1 month ago

Idix commented 1 month ago

Description

The latest go-ovh version allows authentication using OAuth2 client_id and client_secret. Which in turn can be provisioned using the OVH terraform provider thus enabling everything to be configured as code.

Note

I'm not usually writing code in Go so I'm not sure if everything is idiomatic. Please advice if something needs to be changed to be more in line with the rest of the code.

Idix commented 1 month ago

I see you did all the hard work, thanks!