GET /cloud/project/{project_id}/region), so invalid keys or a consumer key without cloud-project rights are refused immediately.
What Ankra Accesses
All calls are scoped to your Public Cloud project (/cloud/project/{project_id}/...) on the OVH EU API endpoint (eu.api.ovh.com). One credential covers both cluster types. For self-managed OVH clusters, Ankra provisions the infrastructure directly:
For OVHcloud MKS, Ankra uses the managed Kubernetes API instead:
Creating OVH API Credentials
1
Generate OVH API credentials
- Go to https://api.ovh.com/createToken/
- Log in with your OVH account
- Set the following access rules - these are exactly what the validation checks and the tables above use:
- GET, POST, PUT, DELETE on
/cloud/project/* - GET on
/cloud/project
- GET, POST, PUT, DELETE on
- Click Create Keys
- Save the Application Key, Application Secret, and Consumer Key
2
Get your project ID
- Log in to the OVH Control Panel
- Go to Public Cloud → select your project
- Copy the Project ID from the dashboard URL or project settings
3
Add to Ankra (UI)
Go to Credentials → Add → OVH, then provide:
- Name: a unique identifier - lowercase letters and numbers only, cannot start with a hyphen (e.g.
ovh-prod) - Application Key, Application Secret, Consumer Key: the keys from step 1
- Project ID: from step 2
4
Or via CLI
The application key, application secret, and consumer key can be rotated later from the credential’s page. The project ID is fixed - to target a different Public Cloud project, create a new credential.
Listing OVH Credentials
Troubleshooting OVH Credentials
The table below covers the Test connection result in the Ankra UI:
Saving without testing runs the same validation and reports the same causes - for a permissions failure the save error spells out the exact access rules to regenerate with.
Consumer keys can also expire if you set a validity period at creation. If a credential that used to work starts failing with rejected keys, regenerate at api.ovh.com/createToken (with unlimited validity if your policy allows) and rotate the three keys in on the credential’s page.