go-acme / lego

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

Scaleway DNS Challenge credentials not correct #2135

Closed birkanozer closed 3 months ago

birkanozer commented 3 months ago

Welcome

What did you expect to see?

SCW_ACCESS_KEY and SCW_SECRET_KEY variables as described in https://www.scaleway.com/en/developers/api/domains-and-dns/

What did you see instead?

SCALEWAY_API_TOKEN

How do you use lego?

Through Traefik

Reproduction steps

I'have checked the documentation of Scaleway and LeGo and also verified by looking to the source code of scaleway.go

Version of lego

Lastest

Logs

No logs

Go environment (if applicable)

No details

ldez commented 3 months ago

Hello,

the env vars inside SCW_ACCESS_KEY and SCW_SECRET_KEY in this doc are just examples used inside a guide with cURL calls.

the env var SCALEWAY_API_TOKEN is the "secret key", you don't need the access key when using the SDK.

https://github.com/go-acme/lego/pull/1393/files#r622246653