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

Readme "Getting started" outdated #303

Open
PascalPixel opened this issue Mar 26, 2020 · 4 comments
Open

Readme "Getting started" outdated #303

PascalPixel opened this issue Mar 26, 2020 · 4 comments

Comments

@PascalPixel
Copy link

If you follow the "Getting started" section of the readme for the v5 version of the site it won't work:

  1. pip install gandi.cli
  2. gandi setup
  3. Api key (xmlrpc) Readme does not mention xmlrpc? Put v5 key I guess?
  4. Environment [production]/ote [hit return]
  5. SSH keyfile [hit return]
  6. Api key (REST) Readme does not mention this step at all. Put v5 key?
  7. gandi domain list
  8. Invalid API key, please use 'Gandi setup' command.
  • Back to step 2?
@robrecord
Copy link

robrecord commented Sep 28, 2020

Please fix... this is a blocker.

@grigouze
Copy link

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

@dangoncalves
Copy link

@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)?

@grigouze
Copy link

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

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

4 participants