(gandi-cli) $ gandi setup
Welcome to GandiCLI, let's configure a few things before we start.
Api key (xmlrpc) [...]: xxxxxxxxxxxxxxxxxxxxxxxxxxx
Environnment [production]/ote (ote, production):
SSH keyfile [~/.ssh/id_rsa.pub]: ~/.ssh/id_rsa.pub
Api key (REST) [...]: xxxxxxxxxxxxxxxxxxxxxxxxxx
Setup completed. You can now:
* use 'gandi' to see all command.
* use 'gandi vm create' to create and access a Virtual Machine.
* use 'gandi paas create' to create and access a SimpleHosting instance.
Test cli
(gandi-cli) $ gandi domain list
Invalid API key, please use 'gandi setup' command.
Hello
I just have installed gandi using venv and pip then create an api key on v5 web interface at https://account.gandi.net/en/users/MYACCOUNT/security
User python 3.9.1 from ArchLinux
Install python venv
Chek installed cli
Run setup
Test cli
Conf file
gandi dns list works fine.
So, XMLRPC doesn't work while RESTapi works.