Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

Add a link to the account page. #308

Closed JulienPalard closed 3 years ago

JulienPalard commented 3 years ago

Which is not obvious, I searched in admin.gandi.net for a bunch of minutes before finding account.gandi.net.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 90.743% when pulling 4f3caf09b333fcd6b7a6ffd2a819c633a4581c6c on JulienPalard:mdk/link-to-account into ec0f3bb4592c570e5055c14735b2020cadac4495 on Gandi:master.

JulienPalard commented 3 years ago

Damned, it's more complicated than that. The account.gandi.net interface tells:

Votre nouvelle clef d'API est :

without telling if it's the xmlrpc api or apirest key.

Trying to set it as apirest key and running gandi domain list I get:

No configuration found, please use 'gandi setup' command

Trying to set it as api key and running gandi domain list I get:

Invalid API key, please use 'gandi setup' command.

so there's something that gandi setup should tell to clarify that, my PR is not enough. Do anyone know?

akaihola commented 3 years ago

@JulienPalard, see also #305.

JulienPalard commented 3 years ago

It should be better now, I was able to query using my own instructions, but as I don't have a v4 key I only have access to:

 $ gandi dns create
 $ gandi dns delete
 $ gandi dns domain.list
 $ gandi dns list
 $ gandi dns keys create
 $ gandi dns keys delete
 $ gandi dns keys info
 $ gandi dns keys list
 $ gandi dns keys recover
yanndinendal commented 3 years ago

Thanks :)