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
docs: add docs for secret sync and app connection
adilson5451478f49c6
diff --git a/docs/docs.json b/docs/docs.jsonindex 943c8a5543..e8aed07c8f 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -160,6 +160,7 @@"integrations/app-connections/oracledb","integrations/app-connections/ovh","integrations/app-connections/postgres",+ "integrations/app-connections/qovery","integrations/app-connections/railway","integrations/app-connections/redis","integrations/app-connections/render",@@ -654,6 +655,7 @@"integrations/secret-syncs/oci-vault","integrations/secret-syncs/octopus-deploy","integrations/secret-syncs/ovh",+ "integrations/secret-syncs/qovery","integrations/secret-syncs/railway","integrations/secret-syncs/render","integrations/secret-syncs/snowflake",diff --git a/docs/images/app-connections/general/revamped-app-connection-tab.png b/docs/images/app-connections/general/revamped-app-connection-tab.pngnew file mode 100644index 0000000000..55f16d05a1Binary files /dev/null and b/docs/images/app-connections/general/revamped-app-connection-tab.png differdiff --git a/docs/images/app-connections/qovery/step-1-settings.png b/docs/images/app-connections/qovery/step-1-settings.pngnew file mode 100644index 0000000000..2cf42bfde4Binary files /dev/null and b/docs/images/app-connections/qovery/step-1-settings.png differdiff --git a/docs/images/app-connections/qovery/step-2-api-token.png b/docs/images/app-connections/qovery/step-2-api-token.pngnew file mode 100644index 0000000000..18150d2463Binary files /dev/null and b/docs/images/app-connections/qovery/step-2-api-token.png differdiff --git a/docs/images/app-connections/qovery/step-3-add-new-token.png b/docs/images/app-connections/qovery/step-3-add-new-token.pngnew file mode 100644index 0000000000..371bb05163Binary files /dev/null and b/docs/images/app-connections/qovery/step-3-add-new-token.png differdiff --git a/docs/images/app-connections/qovery/step-4-create-token.png b/docs/images/app-connections/qovery/step-4-create-token.pngnew file mode 100644index 0000000000..227099937aBinary files /dev/null and b/docs/images/app-connections/qovery/step-4-create-token.png differdiff --git a/docs/images/app-connections/qovery/step-5-search-qovery.png b/docs/images/app-connections/qovery/step-5-search-qovery.pngnew file mode 100644index 0000000000..611e092fd0Binary files /dev/null and b/docs/images/app-connections/qovery/step-5-search-qovery.png differdiff --git a/docs/images/app-connections/qovery/step-6-fill-sync.png b/docs/images/app-connections/qovery/step-6-fill-sync.pngnew file mode 100644index 0000000000..7dd8590c26Binary files /dev/null and b/docs/images/app-connections/qovery/step-6-fill-sync.png differdiff --git a/docs/images/app-connections/qovery/step-7-created-app-connection.png b/docs/images/app-connections/qovery/step-7-created-app-connection.pngnew file mode 100644index 0000000000..d251a9e7aaBinary files /dev/null and b/docs/images/app-connections/qovery/step-7-created-app-connection.png differdiff --git a/docs/images/secret-syncs/general/revamped-secret-syncs-tab.png b/docs/images/secret-syncs/general/revamped-secret-syncs-tab.pngnew file mode 100644index 0000000000..7238512095Binary files /dev/null and b/docs/images/secret-syncs/general/revamped-secret-syncs-tab.png differdiff --git a/docs/images/secret-syncs/qovery/step-1-search-sync.png b/docs/images/secret-syncs/qovery/step-1-search-sync.pngnew file mode 100644index 0000000000..c98bd6f0c4Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-1-search-sync.png differdiff --git a/docs/images/secret-syncs/qovery/step-2-source.png b/docs/images/secret-syncs/qovery/step-2-source.pngnew file mode 100644index 0000000000..b7e6d516b6Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-2-source.png differdiff --git a/docs/images/secret-syncs/qovery/step-3-destination.png b/docs/images/secret-syncs/qovery/step-3-destination.pngnew file mode 100644index 0000000000..1365af4857Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-3-destination.png differdiff --git a/docs/images/secret-syncs/qovery/step-4-initial-sync.png b/docs/images/secret-syncs/qovery/step-4-initial-sync.pngnew file mode 100644index 0000000000..6a99671103Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-4-initial-sync.png differdiff --git a/docs/images/secret-syncs/qovery/step-5-sync-options.png b/docs/images/secret-syncs/qovery/step-5-sync-options.pngnew file mode 100644index 0000000000..36d85aaff1Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-5-sync-options.png differdiff --git a/docs/images/secret-syncs/qovery/step-6-details.png b/docs/images/secret-syncs/qovery/step-6-details.pngnew file mode 100644index 0000000000..91301b48abBinary files /dev/null and b/docs/images/secret-syncs/qovery/step-6-details.png differdiff --git a/docs/images/secret-syncs/qovery/step-7-review.png b/docs/images/secret-syncs/qovery/step-7-review.pngnew file mode 100644index 0000000000..e2674a3aa1Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-7-review.png differdiff --git a/docs/images/secret-syncs/qovery/step-8-sync-behavior.png b/docs/images/secret-syncs/qovery/step-8-sync-behavior.pngnew file mode 100644index 0000000000..163a2071b1Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-8-sync-behavior.png differdiff --git a/docs/images/secret-syncs/qovery/step-9-created-sync.png b/docs/images/secret-syncs/qovery/step-9-created-sync.pngnew file mode 100644index 0000000000..3d984253e5Binary files /dev/null and b/docs/images/secret-syncs/qovery/step-9-created-sync.png differdiff --git a/docs/integrations/app-connections/qovery.mdx b/docs/integrations/app-connections/qovery.mdxnew file mode 100644index 0000000000..0849c2cbef--- /dev/null+++ b/docs/integrations/app-connections/qovery.mdx@@ -0,0 +1,105 @@+---+title: "Qovery Connection"+description: "Learn how to configure a Qovery Connection for Infisical."+---++Infisical supports the use of [Project Access Tokens](https://www.qovery.com/docs/api-reference/introduction) to connect with Qovery.++## Create Qovery Access Token++<Steps>+ <Step title="Navigate to your organization Settings">+ In the Qovery console, select the **Settings** tab for your organization.++ + </Step>+ <Step title="Open the 'API token' section">+ In the settings sidebar, select **API token**.++ + </Step>+ <Step title="Click 'Add new'">+ + </Step>+ <Step title="Create the token">+ Give the token a name and assign it a role that can read organizations, projects, and environments and manage variables at the scope you intend to sync to, then click **Create**. After creating the token, a modal containing your project access token will appear. Save this token for later steps.++ + </Step>+</Steps>++## Create Qovery 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 Qovery Connection">+ Click the **+ Add Connection** button and select the **Qovery Connection** option from the available integrations.++ + </Step>+ <Step title="Fill out the Qovery Connection form">+ Complete the Qovery Connection form by entering:+ - A descriptive **Name** for the connection+ - An optional **Description** for future reference+ - The **Method**, set to **Personal Access Token**+ - The **Project Access Token** from earlier steps+ - The **Qovery API URL** (defaults to `https://api.qovery.com`; change this only if you are connecting to a self-hosted Qovery instance)++ Then click **Connect to Qovery**.++ + </Step>+ <Step title="Connection Created">+ After clicking Connect to Qovery, your **Qovery Connection** is established and ready to use with your Infisical project.+ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To create a Qovery Connection, make an API request to the [Create Qovery Connection](/api-reference/endpoints/app-connections/qovery/create) API endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/app-connections/qovery \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-qovery-connection",+ "method": "access-token",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "credentials": {+ "accessToken": "[PROJECT ACCESS TOKEN]"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "appConnection": {+ "id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",+ "name": "my-qovery-connection",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "description": null,+ "version": 1,+ "orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",+ "createdAt": "2025-04-23T19:46:34.831Z",+ "updatedAt": "2025-04-23T19:46:34.831Z",+ "isPlatformManagedCredentials": false,+ "credentialsHash": "7c2d371dec195f82a6a0d5b41c970a229cfcaf88e894a5b6395e2dbd0280661f",+ "app": "qovery",+ "method": "access-token",+ "credentials": {}+ }+ }+ ```+ </Tab>+</Tabs>diff --git a/docs/integrations/secret-syncs/qovery.mdx b/docs/integrations/secret-syncs/qovery.mdxnew file mode 100644index 0000000000..7fb84b7554--- /dev/null+++ b/docs/integrations/secret-syncs/qovery.mdx@@ -0,0 +1,185 @@+---+title: "Qovery Sync"+description: "Learn how to configure a Qovery Sync for Infisical."+---++**Prerequisites:**+- Create a [Qovery Connection](/integrations/app-connections/qovery)++<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 'Qovery'">+ + </Step>+ <Step title="Configure source">+ Configure the **Source** from where secrets should be retrieved, then click **Continue**.++ ++ - **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, then click **Continue**.++ ++ - **Qovery Connection**: The Qovery App Connection to authenticate with.+ - **Organization**: The organization inside Qovery.+ - **Project**: The Qovery project to sync secrets to.+ - **Environment** (optional): The environment to sync secrets to. Leave empty to sync at the **project** level, or select an environment to sync at the **environment** level.+ </Step>+ <Step title="Configure initial sync behavior">+ Choose how Infisical should reconcile existing secrets in Qovery the first time this sync runs, then click **Continue**.++ ++ - **Overwrite Qovery**: On the initial sync, Infisical writes its secrets to Qovery. Depending on your configuration, this can lead to removal of secrets from Qovery.+ <Note>+ Qovery does not support importing secrets, as the Qovery API never returns secret values. Overwrite is the only supported initial sync behavior.+ </Note>+ </Step>+ <Step title="Configure sync options">+ Configure the **Sync Options** to specify how secrets should be synced, then click **Continue**.++ ++ - **Disable secret deletion**: If enabled, Infisical will not remove secrets from Qovery during a sync. Enable this if you intend to manage some secrets manually outside of Infisical.+ - **Auto-sync on changes**: If enabled, secrets will automatically be synced to Qovery when changes occur in the source. Disable to enforce manual syncing only.+ - **Customize key names**: Add a prefix or suffix so Infisical can identify which keys in Qovery it manages. Anything else is left untouched.+ - **Sync as environment variables**: When enabled, values are written as Qovery environment variables, whose values are readable. When disabled, they are written as environment secrets, whose values are hidden.++ <Note>+ We highly recommend customizing key names to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.+ </Note>+ </Step>+ <Step title="Configure details">+ Configure the **Details** of your Qovery Sync, then click **Continue**.++ ++ - **Name**: The name of your sync. Must be slug-friendly.+ - **Description**: An optional description for your sync.+ </Step>+ <Step title="Review and create">+ Review your Qovery Sync configuration, then click **Create Sync**.++ + </Step>+ <Step title="Confirm sync behavior">+ Infisical is the source of truth for synced destinations. Secrets in the destination will be overwritten, and any direct edits there may be overwritten by future syncs. Click **I Understand** to confirm.++ + </Step>+ <Step title="Sync created">+ If enabled, your Qovery Sync will begin syncing your secrets to the destination endpoint.++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To create a **Qovery Sync**, make an API request to the [Create Qovery Sync](/api-reference/endpoints/secret-syncs/qovery/create) API endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/secret-syncs/qovery \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-qovery-sync",+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "description": "an example sync",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "environment": "dev",+ "secretPath": "/my-secrets",+ "isEnabled": true,+ "syncOptions": {+ "initialSyncBehavior": "overwrite-destination",+ "autoSyncEnabled": true,+ "disableSecretDeletion": false+ },+ "destinationConfig": {+ "organizationId": "dev-organization-id",+ "organizationName": "My Organization",+ "projectId": "dev-project-id",+ "projectName": "Development Project",+ "environmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "environmentName": "Development",+ "variableType": "secret"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "secretSync": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "name": "my-qovery-sync",+ "description": "an example sync",+ "isEnabled": true,+ "version": 1,+ "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "createdAt": "2023-11-07T05:31:56Z",+ "updatedAt": "2023-11-07T05:31:56Z",+ "syncStatus": "succeeded",+ "lastSyncJobId": "123",+ "lastSyncMessage": null,+ "lastSyncedAt": "2023-11-07T05:31:56Z",+ "importStatus": null,+ "lastImportJobId": null,+ "lastImportMessage": null,+ "lastImportedAt": null,+ "removeStatus": null,+ "lastRemoveJobId": null,+ "lastRemoveMessage": null,+ "lastRemovedAt": null,+ "syncOptions": {+ "initialSyncBehavior": "overwrite-destination",+ "autoSyncEnabled": true,+ "disableSecretDeletion": false+ },+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "connection": {+ "app": "qovery",+ "name": "my-qovery-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": "/my-secrets"+ },+ "destination": "qovery",+ "destinationConfig": {+ "organizationId": "dev-organization-id",+ "organizationName": "My Organization",+ "projectId": "dev-project-id",+ "projectName": "Development Project",+ "environmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "environmentName": "Development",+ "variableType": "secret"+ }+ }+ }+ ```+ </Tab>+</Tabs>diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsxindex 61672c4452..6a69bd5271 100644--- a/docs/snippets/AppConnectionsBrowser.jsx+++ b/docs/snippets/AppConnectionsBrowser.jsx@@ -574,7 +574,15 @@ export const AppConnectionsBrowser = () => {description:"Learn how to connect GoDaddy to Infisical for ACME DNS validation.",category: "Networking & DNS",- }+ },+ {+ name: "Qovery",+ slug: "qovery",+ path: "/integrations/app-connections/qovery",+ description:+ "Learn how to connect Qovery to pull secrets from Infisical.",+ category: "DevOps Tools",+ },].sort(function (a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());});diff --git a/docs/snippets/SecretSyncsBrowser.jsx b/docs/snippets/SecretSyncsBrowser.jsxindex 45c8460122..9e9cd231b1 100644--- a/docs/snippets/SecretSyncsBrowser.jsx+++ b/docs/snippets/SecretSyncsBrowser.jsx@@ -49,6 +49,7 @@ export const SecretSyncsBrowser = () => {{"name": "Travis CI", "slug": "travis-ci", "path": "/integrations/secret-syncs/travis-ci", "description": "Learn how to sync secrets from Infisical to Travis CI.", "category": "CI/CD"},{"name": "Snowflake", "slug": "snowflake", "path": "/integrations/secret-syncs/snowflake", "description": "Learn how to sync secrets from Infisical to Snowflake.", "category": "Databases"},{"name": "Trigger.dev", "slug": "trigger-dev", "path": "/integrations/secret-syncs/trigger-dev", "description": "Learn how to sync secrets from Infisical to Trigger.dev.", "category": "DevOps Tools"},+ {"name": "Qovery", "slug": "qovery", "path": "/integrations/secret-syncs/qovery", "description": "Learn how to sync secrets from Infisical to Qovery.", "category": "DevOps Tools"},].sort(function(a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());