Gestion application et accès API
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Gestion application et accès API

by
Community Deleted user
Created on 2018-12-22 11:28:20 (edited on 2024-09-04 12:17:55) in Brèves de comptoir

Bonjour,

Besoin :

Pour la génération / renouvellement d'un certificat wildcard Let's Encrypt via Traefik j'ai besoin de OVH_ENDPOINT, OVH_APPLICATION_KEY, OVH_APPLICATION_SECRET, OVH_CONSUMER_KEY.

Procédure :

* Création de l'app sur : https://eu.api.ovh.com/createApp/
* Envoi d'un curl qui me renvoie une URL de validation
* Création des accès via l'url de validation : https://eu.api.ovh.com/auth/?credentialToken=XXXXXXXX

Problème :

Je ne trouve pas de ressources sur internet pour comprendre le fonctionnement de l'API pour un débutant.

Demande :

Comment gérer les accès accordés à l'application, comment supprimer l'application ?
J'ai autorisé des accès à mon compte mais ça ne me rassure pas du tout car je n'ai pas la main dessus.

Merci pour votre aide.


1 Reply ( Latest reply on 2019-03-12 20:42:05 by
Kyuta_1
)

Bonsoir

Le call API pour gérer les accès sont dans l'api /me/api/application

- Pour les lister:
https://api.ovh.com/console/#/me/api/application#GET

- Pour afficher les propriété d'une application
https://api.ovh.com/console/#/me/api/application/%7BapplicationId%7D#GET

- Pour supprimer une application
https://api.ovh.com/console/#/me/api/application/%7BapplicationId%7D#DELETE

etc.

Ces informations devraient t'aider dans ta démarche

Replies are currently disabled for this question.