Skip to content

Conversation

@zbbfufu
Copy link
Contributor

@zbbfufu zbbfufu commented Sep 12, 2023

Gandi Livedns is replacing API key which are user-scoped and deprecated with full access by a personal access token (PAT) which is independent of a user and can be scoped to specific parts of the Gandi API.

This PR add support for PAT. If GANDI_LIVEDNS_TOKEN environment variable is provided, the PAT is used instead of API key. If only GANDI_LIVEDNS_KEY env. variable is provided, API key is still used.
This allow a transparent update for users.

DNS Github Action performs successfully on my branch: https://github.com/zbbfufu/acme.sh/actions/runs/6156454092

I will also update Wiki (dnsapi page) accordingly when this PR will be merged.

@github-actions
Copy link

Welcome
Please make sure you're read our DNS API Dev Guide and DNS-API-Test.
Then reply on this message, otherwise, your code will not be reviewed or merged.
We look forward to reviewing your Pull request shortly ✨

@zbbfufu
Copy link
Contributor Author

zbbfufu commented Sep 12, 2023

DNS API Dev Guide and DNS-API-Test pages read !

@Neilpang
Copy link
Member

fix the ci errors.

@Neilpang Neilpang merged commit 1a90f66 into acmesh-official:dev Sep 13, 2023
@zbbfufu zbbfufu deleted the feature/gandi-replace-apikey-by-personal-token branch September 13, 2023 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants