Skip to content

An Ovh command line interface to allow easy interaction with the Ovh Api

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

yusefmaali/ovh-cli

Repository files navigation

ovh-cli

An Ovh command line interface to allow easy interaction with the Ovh Api

Usage

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.

Configuration Quick Steps

1. Create an Ovh application

Create an Ovh Application to get the application_key and the application_secret (create-an-application).

2. Create the ovh.conf file

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 API
  • ovh-us for OVH US API
  • ovh-ca for OVH North-America API
  • soyoustart-eu for So you Start Europe API
  • soyoustart-ca for So you Start North America API
  • kimsufi-eu for Kimsufi Europe API
  • kimsufi-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.

3. Authorize the Ovh application and get the consumer_key

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.

Official documentation

Enable the access to the Ovh Api: First Steps with the OVHcloud APIs

Ovh Python Api wrapper documentation: github.com/ovh/python-ovh

Meta

Yusef Maali - contact@yusefmaali.net

Distributed under the MIT license. See LICENSE.txt for more information.

https://github.com/yusefmaali/ovh-cli

About

An Ovh command line interface to allow easy interaction with the Ovh Api

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages