Skip to main content
OVH API credentials store your OVH Cloud application key, application secret, consumer key, and project ID, used when provisioning and managing OVH clusters and OVHcloud Managed Kubernetes (MKS). The credentials are validated against the OVH API on creation.

Creating OVH API Credentials

1

Generate OVH API Credentials

  1. Go to https://api.ovh.com/createToken/
  2. Log in with your OVH account
  3. Set the following permissions:
    • GET, POST, PUT, DELETE on the OVH API scope cloud/project/*
    • GET on the OVH API scope cloud/project
  4. Click Create Keys
  5. Save the Application Key, Application Secret, and Consumer Key
2

Get Your Project ID

  1. Log in to the OVH Control Panel
  2. Go to Public Cloud → select your project
  3. Copy the Project ID from the dashboard URL or project settings
3

Add to Ankra (UI)

Go to CredentialsAddOVH, enter a name, your project ID, and paste your API credentials.
4

Or via CLI

ankra credentials ovh create --name my-ovh-cred --project-id <project-id>
# You will be securely prompted for application key, application secret, and consumer key
For self-managed OVH clusters you also need an SSH key credential.

Listing OVH Credentials

ankra credentials ovh list
curl https://platform.ankra.app/api/v1/credentials/ovh \
  -H "Authorization: Bearer $ANKRA_API_TOKEN"