OVHcloud Secret API

The Secret API from OVHcloud — 1 operation(s) for secret.

GitHub OpenAPI

Operations 1

POST /secret/retrieve Retrieve a secret sent by email #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ovh:ovh-secret-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ovh-secret-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ovh Secret API
  version: '1.0'
  contact:
    name: OVH
    email: api@ml.ovh.net
  description: 'Operations tagged Secret across 2 of this provider''s published API definitions: ovh-v1-secret-openapi.json, ovh-v1-secret-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://eu.api.ovh.com/v1
tags:
- name: Secret
paths:
  /secret/retrieve:
    post:
      summary: Retrieve a secret sent by email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: The secret ID
                  format: password
              required:
              - id
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/secret.Secret'
      x-badges:
      - color: green
        label: Stable production version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: password\nresult = client.post(\"/secret/retrieve\",\n\tid = None, # The secret ID (type: password)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: password\n$result = $ovh->post(\"/secret/retrieve\", array(\n\tid => null, // The secret ID (type: password)\n));\n\nprint_r($result);\n?>"
      tags:
      - Secret
      operationId: postSecretRetrieve
      x-operation-id-source: derived
    servers:
    - url: https://eu.api.ovh.com/v1
components:
  schemas:
    secret.Secret:
      type: object
      description: A secret
      properties:
        expiration:
          type: string
          description: Expiration time of the secret
          format: date-time
        secret:
          type: string
          description: The secret
          format: password
  securitySchemes:
    oAuth2AuthCode:
      type: oauth2
      description: Oauth2
      x-client-id: 1bb9c7df371741c0
      x-client-secret: a5b4de870aca620d10fbf63cd18d205b
      flows:
        authorizationCode:
          authorizationUrl: https://auth.eu.ovhcloud.com/oauth2/authorize
          tokenUrl: https://auth.eu.ovhcloud.com/oauth2/token
          scopes:
            account/all: Manage your account
            all: Manage your whole account and all your services
            services/all: Manage your services lifecycle and billing
x-refined-from:
- ovh-v1-secret-openapi.json
- ovh-v1-secret-openapi.yml