Open PascalPixel opened 4 years ago
Please fix... this is a blocker.
@PascalPixel Only "dns" command are compatible with v5 API key (REST) at this time.
So gandi domain list command only use "v4" api key (xmlrpc). You must provide it if you want to list your domains.
@grigouze: the problem is the v4 is deprecated and to get this apikey (which is different than v5) we should be able to connect to the old interface. So how can I regenerate this key without connecting to the old web interface (which should not be accessible anymore)?
@dangoncalves The only solution now is to contact support here https://help.gandi.net/en/contact/api/api-start .
I hope we will implement v5 API for all CLI commands in near future, and then the v4 API key will not be mandatory.
If you follow the "Getting started" section of the readme for the v5 version of the site it won't work:
pip install gandi.cli
gandi setup
Api key (xmlrpc)
Readme does not mention xmlrpc? Put v5 key I guess?Environment [production]/ote
[hit return]SSH keyfile
[hit return]Api key (REST)
Readme does not mention this step at all. Put v5 key?gandi domain list
Invalid API key, please use 'Gandi setup' command.