Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add docs
adilson0751766eae0e
diff --git a/docs/docs.json b/docs/docs.jsonindex 257e10ceb8..e53774ba9b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -150,6 +150,7 @@"integrations/app-connections/okta","integrations/app-connections/openrouter","integrations/app-connections/oracledb",+ "integrations/app-connections/ovh","integrations/app-connections/postgres","integrations/app-connections/railway","integrations/app-connections/redis",@@ -600,6 +601,7 @@"integrations/secret-syncs/northflank","integrations/secret-syncs/oci-vault","integrations/secret-syncs/octopus-deploy",+ "integrations/secret-syncs/ovh","integrations/secret-syncs/railway","integrations/secret-syncs/render","integrations/secret-syncs/supabase",diff --git a/docs/integrations/app-connections/ovh.mdx b/docs/integrations/app-connections/ovh.mdxnew file mode 100644index 0000000000..e04f892e92--- /dev/null+++ b/docs/integrations/app-connections/ovh.mdx@@ -0,0 +1,120 @@+---+title: "OVH Cloud Connection"+description: "Learn how to configure an OVH Cloud Connection for Infisical."+---++Infisical authenticates to [OVHcloud Key Management Service (OKMS)](https://www.ovhcloud.com/en/identity-security-operations/secret-manager/) using mutual TLS (mTLS) with a PEM-encoded client certificate pair issued by OVH for your OKMS instance.++## Generate an OVH OKMS Access Certificate++<Steps>+ <Step title="Open the OKMS dashboard">+ Log in to the [OVHcloud Control Panel](https://www.ovh.com/manager/) and navigate to **Identity, Security & Operations** > **Key Management Service**.++ + </Step>+ <Step title="Select your OKMS domain">+ Select the OKMS domain you want to use (or create a new one). Take note of the following values — you will paste them into Infisical in a later step:++ - **OKMS ID** — the UUID-style identifier shown on the OKMS summary page.+ - **REST API endpoint** — the base URL of the OKMS REST API (e.g. `https://ca-east-bhs.okms.ovh.net/api`). This is the **OKMS Domain** value in Infisical.++ + </Step>+ <Step title="Generate an access certificate">+ Open the **Access certificate** tab and generate a new certificate. Download the two PEM files offered:++ - `*_privatekey.pem` — the private key.+ - `*_certificate.pem` — the public certificate.++ ++ <Warning>+ Infisical does **not** support the PKCS12 (`.p12`) format. If OVH offers a PKCS12 download or asks you to convert the PEM files with `openssl pkcs12`, ignore those options and keep the PEM files as-is. Node.js's TLS layer (used by Infisical's HTTP client) cannot parse PKCS12 bundles and returns `Unsupported PKCS12 PFX data.` when one is provided.+ </Warning>+ </Step>+</Steps>++## Create an OVH Cloud Connection in Infisical++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to App Connections">+ In your Infisical dashboard, navigate to the **Integrations** tab in the desired project, then select **App Connections**.++ + </Step>+ <Step title="Select OVH Cloud Connection">+ Click **+ Add Connection** and choose **OVH Cloud Connection** from the list of integrations.++ + </Step>+ <Step title="Fill out the OVH Cloud Connection form">+ Complete the form by providing:++ - A descriptive **Name** for the connection.+ - An optional **Description**.+ - **Private Key (PEM)** — paste the full contents of `*_privatekey.pem`, including the `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` markers.+ - **Certificate (PEM)** — paste the full contents of `*_certificate.pem`, including the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` markers.+ - **OKMS Domain** — the OKMS REST API endpoint (e.g. `https://ca-east-bhs.okms.ovh.net/api`).+ - **OKMS ID** — the OKMS instance identifier from the OVHcloud Control Panel.++ ++ Infisical validates the credentials by calling `GET {OKMS Domain}/api/{OKMS ID}/v1/servicekey` with mTLS. A successful `200` response means the PEM pair is trusted by your OKMS instance.+ </Step>+ <Step title="Connection created">+ After submitting the form, your **OVH Cloud Connection** is created and ready to use with Secret Syncs.++ + </Step>+ </Steps>+ </Tab>++ <Tab title="API">+ To create an OVH Cloud Connection via API, send a request to the [Create OVH Cloud Connection](/api-reference/endpoints/app-connections/ovh/create) endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/app-connections/ovh \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-ovh-connection",+ "method": "certificate",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "credentials": {+ "privateKey": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",+ "certificate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n",+ "okmsDomain": "https://ca-east-bhs.okms.ovh.net/api",+ "okmsId": "00000000-0000-0000-0000-000000000000"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "appConnection": {+ "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",+ "name": "my-ovh-connection",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "description": null,+ "version": 1,+ "orgId": "abcdef12-3456-7890-abcd-ef1234567890",+ "createdAt": "2026-04-23T10:15:00.000Z",+ "updatedAt": "2026-04-23T10:15:00.000Z",+ "isPlatformManagedCredentials": false,+ "credentialsHash": "d41d8cd98f00b204e9800998ecf8427e",+ "app": "ovh",+ "method": "certificate",+ "credentials": {}+ }+ }+ ```++ </Tab>+</Tabs>diff --git a/docs/integrations/secret-syncs/ovh.mdx b/docs/integrations/secret-syncs/ovh.mdxnew file mode 100644index 0000000000..c1c7b06e1e--- /dev/null+++ b/docs/integrations/secret-syncs/ovh.mdx@@ -0,0 +1,163 @@+---+title: "OVH Cloud Sync"+description: "Learn how to configure an OVH Cloud Sync for Infisical."+---++**Prerequisites:**+ - Set up and add secrets to [Infisical Cloud](https://app.infisical.com)+ - Create an [OVH Cloud Connection](/integrations/app-connections/ovh)++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Add Sync">+ Navigate to **Project** > **Integrations** and select the **Secret Syncs** tab. Click on the **Add Sync** button.++ + </Step>+ <Step title="Select OVH Cloud">+ + </Step>+ <Step title="Configure Source">+ Configure the **Source** from where secrets should be retrieved, then click **Next**.++ ++ - **Environment**: The project environment to retrieve secrets from.+ - **Secret Path**: The folder path to retrieve secrets from.++ <Tip>+ If you need to sync secrets from multiple folder locations, check out [secret imports](/documentation/platform/secret-reference#secret-imports).+ </Tip>+ </Step>+ <Step title="Configure Destination">+ Configure the **Destination** to where secrets should be deployed.++ ++ - **OVH Cloud Connection**: The OVH Cloud Connection to authenticate with.+ - **Path**: The path in OVH OKMS where secrets will be stored as key/value pairs (e.g. `app/production`). Allowed characters are alphanumerics, dots, dashes, underscores, and single slashes between segments.++ After configuring these parameters, click the **Next** button to continue to the Sync Options step.++ <Note>+ If the **path** you provide does not exist in OVH OKMS, it will be created.+ </Note>+ <Note>+ All Infisical secrets under the selected source path are packed as key/value pairs into a **single** OVH OKMS secret at the destination path. OVH OKMS caps each secret at **64 KB** (total JSON payload), so keep the combined size of all synced secrets within that limit.+ </Note>+ </Step>+ <Step title="Configure Sync Options">+ Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.++ ++ - **Initial Sync Behavior**: Determines how Infisical should resolve the initial sync.+ - **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.+ - **Import Secrets (Prioritize Infisical)**: Imports secrets from the destination endpoint before syncing, prioritizing values from Infisical over OVH Cloud when keys conflict.+ - **Import Secrets (Prioritize OVH Cloud)**: Imports secrets from the destination endpoint before syncing, prioritizing values from OVH Cloud over Infisical when keys conflict.+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using `{{secretKey}}` as a placeholder for the original secret name and `{{environment}}` for the environment.+ <Note>+ We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.+ </Note>+ - **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.+ - **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.+ </Step>+ <Step title="Configure Details">+ Configure the **Details** of your OVH Cloud Sync, then click **Next**.++ ++ - **Name**: The name of your sync. Must be slug-friendly.+ - **Description**: An optional description for your sync.+ </Step>+ <Step title="Review Configuration">+ Review your OVH Cloud Sync configuration, then click **Create Sync**.++ + </Step>+ <Step title="Sync Created">+ If enabled, your OVH Cloud Sync will begin syncing your secrets to the destination endpoint.++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To create an **OVH Cloud Sync**, make an API request to the [Create OVH Cloud Sync](/api-reference/endpoints/secret-syncs/ovh/create) API endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/secret-syncs/ovh \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-ovh-sync",+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "description": "an example sync",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "environment": "dev",+ "secretPath": "/",+ "isEnabled": true,+ "syncOptions": {+ "initialSyncBehavior": "overwrite-destination"+ },+ "destinationConfig": {+ "path": "app/production"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "secretSync": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "name": "my-ovh-sync",+ "description": "an example sync",+ "isEnabled": true,+ "version": 1,+ "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "createdAt": "2026-04-23T10:15:00.000Z",+ "updatedAt": "2026-04-23T10:15:00.000Z",+ "syncStatus": "succeeded",+ "lastSyncJobId": "123",+ "lastSyncMessage": null,+ "lastSyncedAt": "2026-04-23T10:15:00.000Z",+ "importStatus": null,+ "lastImportJobId": null,+ "lastImportMessage": null,+ "lastImportedAt": null,+ "removeStatus": null,+ "lastRemoveJobId": null,+ "lastRemoveMessage": null,+ "syncOptions": {+ "initialSyncBehavior": "overwrite-destination"+ },+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "connection": {+ "app": "ovh",+ "name": "my-ovh-connection",+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"+ },+ "environment": {+ "slug": "dev",+ "name": "Development",+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"+ },+ "folder": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "path": "/"+ },+ "destination": "ovh",+ "destinationConfig": {+ "path": "app/production"+ }+ }+ }+ ```+ </Tab>+</Tabs>diff --git a/frontend/public/images/integrations/OVH.png b/frontend/public/images/integrations/OVH.pngindex b1bac15a96..ab9267806d 100644Binary files a/frontend/public/images/integrations/OVH.png and b/frontend/public/images/integrations/OVH.png differdiff --git a/frontend/src/helpers/appConnections.ts b/frontend/src/helpers/appConnections.tsindex 3220a06a8f..4049ef9487 100644--- a/frontend/src/helpers/appConnections.ts+++ b/frontend/src/helpers/appConnections.ts@@ -164,7 +164,7 @@ export const APP_CONNECTION_MAP: Record<[AppConnection.Doppler]: { name: "Doppler", image: "Doppler.png" },[AppConnection.NetScaler]: { name: "NetScaler", image: "NetScaler.png" },[AppConnection.Anthropic]: { name: "Anthropic", image: "Anthropic.png" },- [AppConnection.OVH]: { name: "OVH", image: "OVH.png" }+ [AppConnection.OVH]: { name: "OVH Cloud", image: "OVH.png" }};export const getAppConnectionMethodDetails = (method: TAppConnection["method"]) => {diff --git a/frontend/src/helpers/secretSyncs.ts b/frontend/src/helpers/secretSyncs.tsindex 43cb184763..06c8612cc7 100644--- a/frontend/src/helpers/secretSyncs.ts+++ b/frontend/src/helpers/secretSyncs.ts@@ -143,7 +143,7 @@ export const SECRET_SYNC_MAP: Record<SecretSync, { name: string; image: string }image: "Infisical.png"},[SecretSync.OVH]: {- name: "OVH",+ name: "OVH Cloud",image: "OVH.png"}};diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/OVHConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/OVHConnectionForm.tsxindex 3a3400c028..8825450b78 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/OVHConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/OVHConnectionForm.tsx@@ -2,16 +2,7 @@ import { Controller, FormProvider, useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";import { z } from "zod";-import {- Button,- FormControl,- Input,- ModalClose,- SecretInput,- Select,- SelectItem-} from "@app/components/v2";-import { APP_CONNECTION_MAP, getAppConnectionMethodDetails } from "@app/helpers/appConnections";+import { Button, FormControl, Input, ModalClose, SecretInput } from "@app/components/v2";import { AppConnection } from "@app/hooks/api/appConnections/enums";import {OVHConnectionMethod,@@ -101,30 +92,8 @@ export const OVHConnectionForm = ({ appConnection, onSubmit }: Props) => {<Controllername="method"control={control}- render={({ field: { value, onChange }, fieldState: { error } }) => (- <FormControl- tooltipText={`The method you would like to use to connect with ${- APP_CONNECTION_MAP[AppConnection.OVH].name- }. This field cannot be changed after creation.`}- errorText={error?.message}- isError={Boolean(error?.message)}- label="Method"- >- <Select- isDisabled={isUpdate}- value={value}- onValueChange={(val) => onChange(val)}- className="w-full border border-mineshaft-500"- position="popper"- dropdownContainerClassName="max-w-none"- >- {Object.values(OVHConnectionMethod).map((method) => (- <SelectItem value={method} key={method}>- {getAppConnectionMethodDetails(method).name}- </SelectItem>- ))}- </Select>- </FormControl>+ render={({ field }) => (+ <input type="hidden" {...field} value={OVHConnectionMethod.Certificate} />)}/><Controller@@ -174,7 +143,6 @@ export const OVHConnectionForm = ({ appConnection, onSubmit }: Props) => {errorText={error?.message}isError={Boolean(error?.message)}label="OKMS Domain"- helperText="Include the host and any path prefix. The OKMS ID and API version are appended automatically."tooltipText="The OKMS base URL, e.g. 'https://ca-east-bhs.okms.ovh.net/api'."><Input {...field} placeholder="https://ca-east-bhs.okms.ovh.net/api" />