General Chat - API keys WebGUI
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.
Frage

API keys WebGUI

Von
AymericD11
Erstellungsdatum 2023-11-10 11:25:15 (edited on 2024-11-18 11:20:22) in General Chat

Hello,

I created API keys using https://eu.api.ovh.com/createToken/
as specified in this documentation https://help.ovhcloud.com/csm/en-gb-api-getting-started-ovhcloud-api?id=kb_article_view&sysparm_article=KB0042784

They work no problem, but I can not find the interface to list, edit, delete the API keys.

Note: I'm the root user of the OVH account.


5 Antworten ( Latest reply on 2025-12-15 09:09:36 Von
David
)

Same here. After creating some API keys with unlimited access time, I'd expect to have an interface to delete them, it'd be very dangerous otherwise.

Side notes:
- don't call your script ``ovh.py`` it will conflict with the actual ``import ovh``
- you need to create an API key with the correct rights:

GET /me/api/application/*
DELETE /me/api/application/*

You can access it at this url :

https://eu.api.ovh.com/console-old/#/me/api/application~GET

In the branch /me/api

Hello,

For people that find this thread, there is now a UI to manage API keys : https://www.ovh.com/manager/#/iam/dashboard/applications

You can use this: https://manager.eu.ovhcloud.com/#/iam/api-keys

I also forked a CLI tool to manage API keys, written in Go: https://gitlab.com/MaesterZ/ovh-akm

It can cleanup credentials from OVH console/manager and credentials not matching an existing application automatically.

I forked a small CLI tool in Go to manage your OVH API keys, you can also cleanup credentials from console / GUI logins and credentials not matching an existing application:

https://gitlab.com/MaesterZ/ovh-akm