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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ovh-cli-yma-1.0.0.tar.gz.

File metadata

  • Download URL: ovh-cli-yma-1.0.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for ovh-cli-yma-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c9413d1672cdb4ca2cbf7acde54efd524fc48be0a652a2fb4d6aaafe40b646a8
MD5 7d1b99b373aeead882742df0a459c6d4
BLAKE2b-256 ee3a5c20a69e94e867567860942c7099dabce62833e4914fbae24e0249b1594c

See more details on using hashes here.

File details

Details for the file ovh_cli_yma-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ovh_cli_yma-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for ovh_cli_yma-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51456cd019d86b52ed0ae0fef701675d23786d7a84fa006531381d3e9e2a0b23
MD5 ae76a5022d34a1a1f7efe207e90b45e5
BLAKE2b-256 ab3f53ea53d91c2b916cf2d123a7767aac16f435c1281172a95997803b2cb3f5

See more details on using hashes here.

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