gandi.cli icon indicating copy to clipboard operation
gandi.cli copied to clipboard

gandi setup output

Open Marc-marc-marc opened this issue 5 years ago • 10 comments

in README.md, the current output is

$ gandi setup

API Key: x134z5x4c5c # copy-paste your api key Environment [production] : # press enter for Production, the default SSH key [~/.ssh/id_rsa.pub] : # your SSH public key for hosting instances and servers

my output

$ uname -a Linux localhost.localdomain 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ gandi --version Gandi CLI 1.5 $ gandi setup Api key (xmlrpc) [...]: Environnment [production]/ote (production, ote): SSH keyfile [~/.ssh/id_rsa.pub]: Api key (REST) [...]:

I could also be a good idea to provide xmlrpc<>REST info : xmlrpc v4 only <> REST only with v5 ?

Marc-marc-marc avatar Aug 13 '19 18:08 Marc-marc-marc

i have the same issue. perhaps this tool is not compatible with gandi v5?

minusf avatar Nov 29 '19 14:11 minusf

The command compatible with v5/REST is "dns domain.list". All others are v4/xmlrpc.

grigouze avatar Nov 29 '19 16:11 grigouze

which API key is the one coming from the admin? xmlrpc or REST? the setup instructions show a different gandi setup than i get from the package...

minusf avatar Dec 02 '19 10:12 minusf

Can you please provide the url of the admin ?

Le lun. 2 déc. 2019 à 11:48, minusf [email protected] a écrit :

which API key is the one coming from the admin? xmlrpc or REST?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gandi/gandi.cli/issues/292?email_source=notifications&email_token=AAC3WF2DRNVHX5VYO7HGET3QWTRXVA5CNFSM4ILNQ4Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFTCFUA#issuecomment-560341712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3WF4C2VX66TJXBQNIODLQWTRXVANCNFSM4ILNQ4QQ .

grigouze avatar Dec 02 '19 10:12 grigouze

"Account security" https://account.gandi.net/en/users/my_user_name/security

minusf avatar Dec 02 '19 11:12 minusf

This one is for the REST API

Le lun. 2 déc. 2019 à 12:03, minusf [email protected] a écrit :

"Account security" https://account.gandi.net/en/users/my_user_name/security

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gandi/gandi.cli/issues/292?email_source=notifications&email_token=AAC3WF3JKVTT3SYYYKON26DQWTTQ7A5CNFSM4ILNQ4Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFTDSUI#issuecomment-560347473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3WF2VWGSRQ5HZ74E6X4DQWTTQ7ANCNFSM4ILNQ4QQ .

grigouze avatar Dec 02 '19 11:12 grigouze

You can find your key for the XML-RPC API in our https://v4.gandi.net site in https://v4.gandi.net/admin/api_key and the key for the REST API in https://account.gandi.net/en/users/<your_login>/security

aegiap avatar Dec 02 '19 12:12 aegiap

This is becoming ridiculous. You are phasing out the v4 interface but still require a v4 API key. Please put some manpower behind this tool, so it does not become worthless.

Screenshot 2020-02-05 at 11 39 43

eppfel avatar Feb 05 '20 09:02 eppfel

(sorry about the noise, wrong issue)

romuald avatar Mar 15 '20 09:03 romuald

This is becoming ridiculous. You are phasing out the v4 interface but still require a v4 API key. Please put some manpower behind this tool, so it does not become worthless.

Screenshot 2020-02-05 at 11 39 43

I'm sorry to say that i agree, and to add insult to injury, following the instructions in the README creates an unusable configuration. The Getting Started section of the README makes it look as easy as generating and copy/pasting an API key, but in reality gandi.cli (v 1.6) asks you for two different API key and the README doesn't even tell you which one it is.

Worse, trying to log in to v4.gandi.net is impossible, as it now redirects you to admin.gandi.net, making impossible to generate an XML-RPC API key at https://v4.gandi.net/admin/api_key as suggested by @aegiap.

axelsimon avatar Dec 14 '20 09:12 axelsimon