Skip to main content

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

Metadata

Release files for ovh-cli-yma 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovh-cli-yma 1.0.0
File Size Uploaded
ovh-cli-yma-1.0.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovh-cli-yma 1.0.0
File Interpreter ABI Platform
ovh_cli_yma-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / ovh-cli-yma-1.0.0.tar.gz

Download URL ovh-cli-yma-1.0.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c9413d1672cdb4ca2cbf7acde54efd524fc48be0a652a2fb4d6aaafe40b646a8
BLAKE2b-256 checksum
How to use checksums
ee3a5c20a69e94e867567860942c7099dabce62833e4914fbae24e0249b1594c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / ovh_cli_yma-1.0.0-py3-none-any.whl

Download URL ovh_cli_yma-1.0.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51456cd019d86b52ed0ae0fef701675d23786d7a84fa006531381d3e9e2a0b23
BLAKE2b-256 checksum
How to use checksums
ab3f53ea53d91c2b916cf2d123a7767aac16f435c1281172a95997803b2cb3f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page