Skip to main content

An ovh command line tool

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovh-cli-yma-1.0.0.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

ovh_cli_yma-1.0.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page