Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add docs

adilson61993bec3e0a
diff --git a/docs/docs.json b/docs/docs.json
index b92251dae2..66eedf0b7f 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -145,6 +145,7 @@
"integrations/app-connections/netlify",
"integrations/app-connections/netscaler",
"integrations/app-connections/northflank",
+ "integrations/app-connections/ona",
"integrations/app-connections/oci",
"integrations/app-connections/octopus-deploy",
"integrations/app-connections/okta",
@@ -598,6 +599,7 @@
"integrations/secret-syncs/laravel-forge",
"integrations/secret-syncs/netlify",
"integrations/secret-syncs/northflank",
+ "integrations/secret-syncs/ona",
"integrations/secret-syncs/oci-vault",
"integrations/secret-syncs/octopus-deploy",
"integrations/secret-syncs/railway",
diff --git a/docs/integrations/app-connections/ona.mdx b/docs/integrations/app-connections/ona.mdx
new file mode 100644
index 0000000000..3ece4d3ed8
--- /dev/null
+++ b/docs/integrations/app-connections/ona.mdx
@@ -0,0 +1,97 @@
+---
+title: "Ona Connection"
+description: "Learn how to configure an Ona Connection for Infisical."
+---
+
+Infisical supports connecting to [Ona](https://www.gitpod.io/) — Gitpod's cloud development environment platform — using a Personal Access Token (PAT). The connection lets Infisical list your Ona projects and, together with an [Ona Sync](/integrations/secret-syncs/ona), manage environment-variable secrets at the project or user scope.
+
+## Create an Ona Personal Access Token
+
+<Steps>
+ <Step title="Generate a Personal Access Token in Ona">
+ Sign in to Ona and generate a Personal Access Token from your account's token settings. Refer to Gitpod's [Personal Access Token documentation](https://www.gitpod.io/docs/configure/user-settings/access-tokens) for the exact location and current steps.
+
+ The token must have sufficient permissions to:
+
+ - List projects you want Infisical to sync secrets to.
+ - Create, update, and delete environment-variable secrets in the target project or user scope.
+ </Step>
+ <Step title="Copy the token">
+ Copy the generated token — you'll paste it into Infisical in the next section. Treat it like a password; Ona will only show it once.
+ </Step>
+</Steps>
+
+## Create an Ona Connection in Infisical
+
+<Tabs>
+ <Tab title="Infisical UI">
+ <Steps>
+ <Step title="Navigate to App Connections">
+ In your Infisical dashboard, open the **Integrations** tab for the desired project and select **App Connections**. Click **+ Add Connection**.
+
+ ![App Connections Tab](/images/app-connections/general/add-connection.png)
+ </Step>
+ <Step title="Select Ona Connection">
+ Choose **Ona Connection** from the list of integrations.
+
+ ![Select Ona Connection](/images/app-connections/ona/ona-app-connection-option.png)
+ </Step>
+ <Step title="Fill out the Ona Connection form">
+ Complete the form by providing:
+
+ - A descriptive **Name** for the connection.
+ - An optional **Description**.
+ - The **Personal Access Token** you generated in Ona.
+
+ ![Ona Connection Modal](/images/app-connections/ona/ona-app-connection-form.png)
+ </Step>
+ <Step title="Connection created">
+ After submitting the form, your **Ona Connection** will be created and ready to use with an [Ona Sync](/integrations/secret-syncs/ona).
+
+ ![Ona Connection Created](/images/app-connections/ona/ona-app-connection-generated.png)
+ </Step>
+ </Steps>
+ </Tab>
+
+ <Tab title="API">
+ To create an Ona Connection via API, send a request to the [Create Ona Connection](/api-reference/endpoints/app-connections/ona/create) endpoint.
+
+ ### Sample request
+
+ ```bash Request
+ curl --request POST \
+ --url https://app.infisical.com/api/v1/app-connections/ona \
+ --header 'Content-Type: application/json' \
+ --data '{
+ "name": "my-ona-connection",
+ "method": "personal-access-token",
+ "projectId": "abcdef12-3456-7890-abcd-ef1234567890",
+ "credentials": {
+ "personalAccessToken": "[PERSONAL ACCESS TOKEN]"
+ }
+ }'
+ ```
+
+ ### Sample response
+
+ ```bash Response
+ {
+ "appConnection": {
+ "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
+ "name": "my-ona-connection",
+ "description": null,
+ "projectId": "abcdef12-3456-7890-abcd-ef1234567890",
+ "version": 1,
+ "orgId": "abcdef12-3456-7890-abcd-ef1234567890",
+ "createdAt": "2025-01-23T10:15:00.000Z",
+ "updatedAt": "2025-01-23T10:15:00.000Z",
+ "isPlatformManagedCredentials": false,
+ "credentialsHash": "d41d8cd98f00b204e9800998ecf8427e",
+ "app": "ona",
+ "method": "personal-access-token",
+ "credentials": {}
+ }
+ }
+ ```
+ </Tab>
+</Tabs>
diff --git a/docs/integrations/secret-syncs/ona.mdx b/docs/integrations/secret-syncs/ona.mdx
new file mode 100644
index 0000000000..50a5ea274c
--- /dev/null
+++ b/docs/integrations/secret-syncs/ona.mdx
@@ -0,0 +1,188 @@
+---
+title: "Ona Sync"
+description: "Learn how to configure an Ona Sync for Infisical."
+---
+
+**Prerequisites:**
+
+- Set up and add secrets to [Infisical Cloud](https://app.infisical.com)
+- Create an [Ona Connection](/integrations/app-connections/ona)
+
+<Note>
+ Ona Sync is **one-way** (Infisical → Ona). Importing existing Ona secrets into Infisical is not supported because Ona only exposes secret values from within active workspaces. Manage the source of truth in Infisical.
+</Note>
+
+<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.
+
+ ![Secret Syncs Tab](/images/secret-syncs/general/secret-sync-tab.png)
+ </Step>
+ <Step title="Select 'Ona'">
+ ![Select Ona](/images/secret-syncs/ona/select-ona-option.png)
+ </Step>
+ <Step title="Configure source">
+ Configure the **Source** from where secrets should be retrieved, then click **Next**.
+
+ ![Configure Source](/images/secret-syncs/ona/ona-source.png)
+
+ - **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 **Next**.
+
+ ![Configure Destination](/images/secret-syncs/ona/ona-destination.png)
+
+ - **Ona Connection**: The Ona Connection to authenticate with.
+ - **Scope**: Where secrets should be stored in Ona.
+ - **Project**: Sync secrets to a specific Ona project as project-level environment variables. Select the target project from the dropdown populated by your connection.
+ - **User**: Sync secrets to the authenticated user's personal environment variables. The user is resolved automatically from the Personal Access Token on the connection.
+ </Step>
+ <Step title="Configure sync options">
+ Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.
+
+ ![Configure Sync Options](/images/secret-syncs/ona/ona-options.png)
+
+ - **Initial Sync Behavior**: Determines how Infisical should resolve the initial sync. Ona Sync only supports **Overwrite Destination Secrets** — any environment-variable secrets at the destination that are not present in Infisical will be removed on the first sync.
+ - **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 Ona Sync, then click **Next**.
+
+ ![Configure Details](/images/secret-syncs/ona/ona-details.png)
+
+ - **Name**: The name of your sync. Must be slug-friendly.
+ - **Description**: An optional description for your sync.
+ </Step>
+ <Step title="Review configuration">
+ Review your Ona Sync configuration, then click **Create Sync**.
+
+ ![Review Configuration](/images/secret-syncs/ona/ona-review.png)
+ </Step>
+ <Step title="Sync created">
+ If enabled, your Ona Sync will begin syncing your secrets to the destination endpoint.
+
+ ![Sync Created](/images/secret-syncs/ona/ona-created.png)
+ </Step>
+ </Steps>
+ </Tab>
+ <Tab title="API">
+ To create an **Ona Sync**, make an API request to the [Create Ona Sync](/api-reference/endpoints/secret-syncs/ona/create) API endpoint.
+
+ ### Sample request (project scope)
+
+ ```bash Request
+ curl --request POST \
+ --url https://app.infisical.com/api/v1/secret-syncs/ona \
+ --header 'Content-Type: application/json' \
+ --data '{
+ "name": "my-ona-sync",
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "description": "an example sync",
+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "environment": "dev",
+ "secretPath": "/my-secrets",
+ "isAutoSyncEnabled": true,
+ "syncOptions": {
+ "initialSyncBehavior": "overwrite-destination",
+ "keySchema": "INFISICAL_{{secretKey}}"
+ },
+ "destinationConfig": {
+ "scope": "project",
+ "projectId": "ona-project-uuid",
+ "projectName": "my-ona-project"
+ }
+ }'
+ ```
+
+ ### Sample request (user scope)
+
+ ```bash Request
+ curl --request POST \
+ --url https://app.infisical.com/api/v1/secret-syncs/ona \
+ --header 'Content-Type: application/json' \
+ --data '{
+ "name": "my-ona-user-sync",
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "environment": "dev",
+ "secretPath": "/my-secrets",
+ "isAutoSyncEnabled": true,
+ "syncOptions": {
+ "initialSyncBehavior": "overwrite-destination"
+ },
+ "destinationConfig": {
+ "scope": "user"
+ }
+ }'
+ ```
+
+ ### Sample response
+
+ ```json Response
+ {
+ "secretSync": {
+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "name": "my-ona-sync",
+ "description": "an example sync",
+ "isAutoSyncEnabled": true,
+ "version": 1,
+ "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "createdAt": "2025-01-23T10:15:00Z",
+ "updatedAt": "2025-01-23T10:15:00Z",
+ "syncStatus": "succeeded",
+ "lastSyncJobId": "123",
+ "lastSyncMessage": null,
+ "lastSyncedAt": "2025-01-23T10:15:00Z",
+ "importStatus": null,
+ "lastImportJobId": null,
+ "lastImportMessage": null,
+ "lastImportedAt": null,
+ "removeStatus": null,
+ "lastRemoveJobId": null,
+ "lastRemoveMessage": null,
+ "lastRemovedAt": null,
+ "syncOptions": {
+ "initialSyncBehavior": "overwrite-destination",
+ "keySchema": "INFISICAL_{{secretKey}}",
+ "disableSecretDeletion": false
+ },
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "connection": {
+ "app": "ona",
+ "name": "my-ona-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": "ona",
+ "destinationConfig": {
+ "scope": "project",
+ "projectId": "ona-project-uuid",
+ "projectName": "my-ona-project"
+ }
+ }
+ }
+ ```
+ </Tab>
+</Tabs>
diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsx
index b625b51460..23e38c673f 100644
--- a/docs/snippets/AppConnectionsBrowser.jsx
+++ b/docs/snippets/AppConnectionsBrowser.jsx
@@ -401,6 +401,14 @@ export const AppConnectionsBrowser = () => {
"Learn how to connect your Northflank projects to pull secrets from Infisical.",
category: "Hosting",
},
+ {
+ name: "Ona",
+ slug: "ona",
+ path: "/integrations/app-connections/ona",
+ description:
+ "Learn how to connect your Ona (Gitpod) workspaces to pull secrets from Infisical.",
+ category: "Hosting",
+ },
{
name: "MongoDB",
slug: "mongodb",
diff --git a/docs/snippets/SecretSyncsBrowser.jsx b/docs/snippets/SecretSyncsBrowser.jsx
index de1a9e84f7..bc19ed27f0 100644
--- a/docs/snippets/SecretSyncsBrowser.jsx
+++ b/docs/snippets/SecretSyncsBrowser.jsx
@@ -41,6 +41,7 @@ export const SecretSyncsBrowser = () => {
{"name": "Laravel Forge", "slug": "laravel-forge", "path": "/integrations/secret-syncs/laravel-forge", "description": "Learn how to sync secrets from Infisical to Laravel Forge.", "category": "Hosting"},
{"name": "Chef", "slug": "chef", "path": "/integrations/secret-syncs/chef", "description": "Learn how to sync secrets from Infisical to Chef.", "category": "DevOps Tools"},
{"name": "Northflank", "slug": "northflank", "path": "/integrations/secret-syncs/northflank", "description": "Learn how to sync secrets from Infisical to Northflank projects.", "category": "Hosting"},
+ {"name": "Ona", "slug": "ona", "path": "/integrations/secret-syncs/ona", "description": "Learn how to sync secrets from Infisical to Ona (Gitpod) projects or user environments.", "category": "Hosting"},
{"name": "Octopus Deploy", "slug": "octopus-deploy", "path": "/integrations/secret-syncs/octopus-deploy", "description": "Learn how to sync secrets from Infisical to Octopus Deploy.", "category": "DevOps Tools"},
{"name": "Azure Entra ID SCIM", "slug": "azure-entra-id-scim", "path": "/integrations/secret-syncs/azure-entra-id-scim", "description": "Learn how to sync SCIM provisioning tokens from Infisical to Azure Entra ID.", "category": "Identity & Auth"},
{"name": "Infisical", "slug": "external-infisical", "path": "/integrations/secret-syncs/external-infisical", "description": "Learn how to sync secrets from one Infisical instance to another.", "category": "Security"}