Closed muckee closed 6 years ago
Hi,
there are two API key fields required in the setup because you need a different apikey for V4 and V5: V4 is an XML-RPC API, V5 is a REST API. You can find how to retrieve each apikey for each website in the documentation https://github.com/Gandi/gandi.cli#getting-started
Ok thank you. I was not aware that I still had access to v4.
Perhaps it would be useful to state in the documentation that both API keys are required. The wording of the article and the screenshots included all imply that one or the other is used, but not both.
Now the API keys seem to be accepted, but when I run the commandgandi paas clone magento2 --vhost store.example.com (replacing store.example.com with the test domain of my instance) I get an error in command line that magento2 does not exist, and that this section is for [OPTIONS].
I have followed the instructions to complete installation with pip and virtualenv, generated API and SSH keys and executed $ gandi setup.
I entered the credentials, using the same API key for both fields (why are there two fields?), used default production mode and listed the location on the server of the ssh key, which I generated via the console of my gandi simple hosting instance.
I receive an error that the API key is invalid. I have tried generating a new API key and I know I've entered it correctly, but still recieve an error that it's invalid.
I presume that this is something to do with the switch from v4 to v5 but I don't have the knowledge to work around it.
Please advise if this is a bug or simply a result of poor documentation?
Thanks!