An Ovh command line interface to allow easy interaction with the Ovh Api
Run the ovh-cli
command to see the usage and the available commands.
Currently only a very small sub-set of Ovh's Api are available.
Create an Ovh Application to get the application_key
and the application_secret
(create-an-application).
- OVH Europe
- OVH US
- OVH North-America
- So you Start Europe
- So you Start North America
- Kimsufi Europe
- Kimsufi North America
In order to enable ovh-cli
, you need to create an ovh.conf
file (configure-your-application).
[default]
endpoint=ovh-eu
[ovh-eu]
application_key=<value>
application_secret=<value>
consumer_key=<value>
Fill the endpoint
param with one of these values:
ovh-eu
for OVH Europe APIovh-us
for OVH US APIovh-ca
for OVH North-America APIsoyoustart-eu
for So you Start Europe APIsoyoustart-ca
for So you Start North America APIkimsufi-eu
for Kimsufi Europe APIkimsufi-ca
for Kimsufi North America API
Fill the application_key
and the application_secret
params with the values got in the previous step.
The consumer_key
can be fetch in the next step.
Make sure the ovh.conf
is properly configured with endpoint
, application_key
and application_secret
params.
Run
ovh-cli account register
and follow the instructions. At the end of the process, you'll get the consumer_key
.
Enable the access to the Ovh Api: First Steps with the OVHcloud APIs
Ovh Python Api wrapper documentation: github.com/ovh/python-ovh
Yusef Maali - contact@yusefmaali.net
Distributed under the MIT license. See LICENSE.txt for more information.