> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OVH API Credentials

> Store OVHcloud application keys and a Public Cloud project in Ankra to provision and manage OVH clusters and OVHcloud MKS.

OVH API credentials store your OVH Cloud application key, application secret, consumer key, and project ID, used when provisioning and managing [OVH clusters](/guides/ovh-clusters) and [OVHcloud Managed Kubernetes (MKS)](/guides/ovh-mks-clusters). The credentials are validated against the OVH API on creation.

## Creating OVH API Credentials

<Steps>
  <Step title="Generate OVH API Credentials">
    1. Go to [https://api.ovh.com/createToken/](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**
  </Step>

  <Step title="Get Your Project ID">
    1. Log in to the [OVH Control Panel](https://www.ovh.com/manager/)
    2. Go to **Public Cloud** → select your project
    3. Copy the **Project ID** from the dashboard URL or project settings
  </Step>

  <Step title="Add to Ankra (UI)">
    Go to **Credentials** → **Add** → **OVH**, enter a name, your project ID, and paste your API credentials.
  </Step>

  <Step title="Or via CLI">
    ```bash theme={null}
    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
    ```
  </Step>
</Steps>

For self-managed OVH clusters you also need an [SSH key credential](/platform/credentials/ssh-key).

## Listing OVH Credentials

<CodeGroup>
  ```bash CLI theme={null}
  ankra credentials ovh list
  ```

  ```bash cURL theme={null}
  curl https://platform.ankra.app/api/v1/credentials/ovh \
    -H "Authorization: Bearer $ANKRA_API_TOKEN"
  ```
</CodeGroup>
