Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gandi API key method is deprecated #1814

Open
Dazeilad opened this issue Nov 29, 2023 · 2 comments
Open

Gandi API key method is deprecated #1814

Dazeilad opened this issue Nov 29, 2023 · 2 comments

Comments

@Dazeilad
Copy link

See here : https://api.gandi.net/docs/authentication/

Gandi API key method is deprecated, it now uses a Personnal Access Token method.

Should be updated in here I guess : https://github.com/AnalogJ/lexicon/blob/master/src/lexicon/_private/providers/gandi.py#L275

Thanks, from a Yunohost user 🙏

@nuffelpop
Copy link

PAT uses Bearer Authentication header instead of Apikey. Adding provider option auth_token_pat would not break current configurations.

It would also be possible to differentiate PAT and Apikey by length (24 vs. 40) and set header accordingly.

@G-eos
Copy link
Contributor

G-eos commented Mar 17, 2024

For information, both API key and PAT are both working today, API key is marked as deprecated but still functional.
I asked Gandi Support this week, they do not have set an end date for API key so far.

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

No branches or pull requests

3 participants