ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
278 stars 76 forks source link

API key w/ proprietary signature or OAuth2 with bearer token #129

Open KampfCaspar opened 5 months ago

KampfCaspar commented 5 months ago

Sorry but I don't really understand if there are two different API conventions at OVH:

The documentation and 'old' api console seem to use API keys restrained by method and path. These repositories are needed because api calls are 'signed' with a proprietary algorithm.

The 'preview' console however, shows examples using plain curl calls with a 'Bearer' Token in JWT format. There are beta api calls for clients, however no documented api calls for the oauth2 flow (might go over the main ovh.com flow?).

Now, can I 'just' use REST with OAuth2 - or is the use of the proprietary pseudo-REST calls the official way?