Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

gandi setup output #292

Open
Marc-marc-marc opened this issue Aug 13, 2019 · 10 comments
Open

gandi setup output #292

Marc-marc-marc opened this issue Aug 13, 2019 · 10 comments

Comments

@Marc-marc-marc
Copy link

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 ?

@minusf
Copy link

minusf commented Nov 29, 2019

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

@grigouze
Copy link

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

@minusf
Copy link

minusf commented Dec 2, 2019

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...

@grigouze
Copy link

grigouze commented Dec 2, 2019 via email

@minusf
Copy link

minusf commented Dec 2, 2019

@grigouze
Copy link

grigouze commented Dec 2, 2019 via email

@aegiap
Copy link
Contributor

aegiap commented Dec 2, 2019

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

@eppfel
Copy link

eppfel commented Feb 5, 2020

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

@romuald
Copy link
Member

romuald commented Mar 15, 2020

(sorry about the noise, wrong issue)

@axelsimon
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants