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
update documentation with screenshots
adilsonac6fd1f5e9d1
diff --git a/backend/src/services/app-connection/travis-ci/travis-ci-connection-fns.ts b/backend/src/services/app-connection/travis-ci/travis-ci-connection-fns.tsindex 159505a30f..ea602b6836 100644--- a/backend/src/services/app-connection/travis-ci/travis-ci-connection-fns.ts+++ b/backend/src/services/app-connection/travis-ci/travis-ci-connection-fns.ts@@ -16,7 +16,7 @@ import {const travisCIApiHeaders = (apiToken: string) => ({Authorization: `token ${apiToken}`,"Travis-API-Version": "3",- "Accept-Encoding": "application/json"+ Accept: "application/json"});type TravisCIPaginationMeta = {diff --git a/backend/src/services/secret-sync/travis-ci/travis-ci-sync-fns.ts b/backend/src/services/secret-sync/travis-ci/travis-ci-sync-fns.tsindex f7c6d72ac3..777a396009 100644--- a/backend/src/services/secret-sync/travis-ci/travis-ci-sync-fns.ts+++ b/backend/src/services/secret-sync/travis-ci/travis-ci-sync-fns.ts@@ -50,7 +50,7 @@ const makeRequestWithRetry = async <T>(throttle: Throttle, requestFn: () => Promconst travisCIApiHeaders = (apiToken: string) => ({Authorization: `token ${apiToken}`,"Travis-API-Version": "3",- "Accept-Encoding": "application/json"+ Accept: "application/json"});const getRepoEnvVars = async (diff --git a/docs/images/app-connections/travis-ci/travis-ci-app-connection-modal.png b/docs/images/app-connections/travis-ci/travis-ci-app-connection-modal.pngnew file mode 100644index 0000000000..62cb11a9f1Binary files /dev/null and b/docs/images/app-connections/travis-ci/travis-ci-app-connection-modal.png differdiff --git a/docs/images/app-connections/travis-ci/travis-ci-app-connection-option.png b/docs/images/app-connections/travis-ci/travis-ci-app-connection-option.pngnew file mode 100644index 0000000000..d387b59c05Binary files /dev/null and b/docs/images/app-connections/travis-ci/travis-ci-app-connection-option.png differdiff --git a/docs/images/app-connections/travis-ci/travis-ci-copy-token.png b/docs/images/app-connections/travis-ci/travis-ci-copy-token.pngnew file mode 100644index 0000000000..38f9879c72Binary files /dev/null and b/docs/images/app-connections/travis-ci/travis-ci-copy-token.png differdiff --git a/docs/images/secret-syncs/travis-ci/select-travis-ci-option.png b/docs/images/secret-syncs/travis-ci/select-travis-ci-option.pngnew file mode 100644index 0000000000..08efa4864dBinary files /dev/null and b/docs/images/secret-syncs/travis-ci/select-travis-ci-option.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-created.png b/docs/images/secret-syncs/travis-ci/travis-ci-created.pngnew file mode 100644index 0000000000..b790d68290Binary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-created.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-destination.png b/docs/images/secret-syncs/travis-ci/travis-ci-destination.pngnew file mode 100644index 0000000000..2ee9811707Binary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-destination.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-details.png b/docs/images/secret-syncs/travis-ci/travis-ci-details.pngnew file mode 100644index 0000000000..2416613df9Binary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-details.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-options.png b/docs/images/secret-syncs/travis-ci/travis-ci-options.pngnew file mode 100644index 0000000000..da5406684fBinary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-options.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-review.png b/docs/images/secret-syncs/travis-ci/travis-ci-review.pngnew file mode 100644index 0000000000..e9861c8dc9Binary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-review.png differdiff --git a/docs/images/secret-syncs/travis-ci/travis-ci-source.png b/docs/images/secret-syncs/travis-ci/travis-ci-source.pngnew file mode 100644index 0000000000..dbdb1e1d4eBinary files /dev/null and b/docs/images/secret-syncs/travis-ci/travis-ci-source.png differdiff --git a/docs/integrations/app-connections/travis-ci.mdx b/docs/integrations/app-connections/travis-ci.mdxindex 7a96923adc..cfe483fee7 100644--- a/docs/integrations/app-connections/travis-ci.mdx+++ b/docs/integrations/app-connections/travis-ci.mdx@@ -17,7 +17,9 @@ Infisical supports connecting to [Travis CI](https://www.travis-ci.com/) using aNavigate to [https://app.travis-ci.com](https://app.travis-ci.com) and click your profile avatar in the top-right corner, then select **Settings**.</Step><Step title="Copy your API Token">- In the **Settings** page, locate the **API authentication** section. Click **Copy Token** to reveal and copy your personal API token.+ In the **Settings** tab, locate the **API authentication** section. Click **Copy Token** to reveal and copy your personal API token.++ <Note>Treat this token like a password — it grants access to every repository you@@ -39,12 +41,16 @@ Infisical supports connecting to [Travis CI](https://www.travis-ci.com/) using a</Step><Step title="Select Travis CI Connection">Click **+ Add Connection** and choose **Travis CI Connection** from the list.++ </Step><Step title="Fill out the Travis CI Connection form">Complete the form by providing:- A descriptive **Name** for the connection- An optional **Description**- The **API Token** you copied from Travis CI++ </Step><Step title="Connection created">After submitting, your **Travis CI Connection** is ready to be used by Secret Syncs and other Infisical features.diff --git a/docs/integrations/secret-syncs/travis-ci.mdx b/docs/integrations/secret-syncs/travis-ci.mdxindex b166a20438..d2b9e08fb4 100644--- a/docs/integrations/secret-syncs/travis-ci.mdx+++ b/docs/integrations/secret-syncs/travis-ci.mdx@@ -3,13 +3,10 @@ title: "Travis CI Sync"description: "Learn how to configure a Travis CI Sync for Infisical."----Infisical's Travis CI Sync keeps your Travis CI environment variables in sync with an Infisical project. Secrets can be pushed from Infisical into a repository, and public environment variables can also be imported back from Travis CI into Infisical.+Infisical's Travis CI Sync keeps your Travis CI repository environment variables in sync with an Infisical project. Account-level environment variables (`account_env_vars`) are not managed by this sync, only repository-scoped environment variables are.<Note>- Environment variables marked as **private** on Travis CI (i.e. `public: false`)- are not exposed by the Travis CI v3 API, so their values cannot be imported- into Infisical. Only public environment variables are imported during the- initial sync.+ `account_env_vars` are not exposed by the Travis CI API for listing or creation, so Infisical cannot sync them.</Note>**Prerequisites:**@@ -27,10 +24,14 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi</Step><Step title="Select 'Travis CI'">Select the **Travis CI** option from the list of destinations.++ </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.@@ -41,22 +42,23 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi<Step title="Configure destination">Configure the **Destination** to where secrets should be deployed, then click **Next**.+ +- **Travis CI Connection**: The Travis CI Connection to authenticate with.- - **Scope**: Selects how environment variables are targeted in Travis CI.- - **Repository**: Syncs repository-level environment variables (those that apply to all branches — `branch: null` on Travis CI).- - **Repository Branch**: Syncs environment variables scoped to a specific branch within the repository.- **Repository**: The Travis CI repository to sync secrets to.- - **Branch** *(only when scope is "Repository Branch")*: The branch that synced environment variables will be scoped to on Travis CI.+ - **Branch** *Optional*: The branch that synced environment variables will be scoped to on Travis CI. If left empty, the sync will manage environment variables that aren't scoped to any branch (i.e. repository-level variables).</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 environment variables at the destination not present in Infisical.- **Import Secrets (Prioritize Infisical)**: Imports public environment variables from Travis CI before syncing, prioritizing Infisical values when keys conflict.- **Import Secrets (Prioritize Travis CI)**: Imports public environment variables from Travis CI before syncing, prioritizing Travis CI values when keys conflict.<Note>- Private environment variables (`public: false`) on Travis CI are not returned by the v3 API and therefore cannot be imported. Only public environment variables will appear in Infisical after an import.+ Private environment variables (`public: false`) on Travis CI are not returned by the v3 API and therefore cannot be imported. Only public environment variables will appear in Infisical after an import. If `Disable Secret Deletion` is not enabled, any private environment variables that fall within the sync's scope will be deleted.</Note>- **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>@@ -68,21 +70,29 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi<Step title="Configure details">Configure the **Details** of your Travis CI 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 Travis CI Sync configuration, then click **Create Sync**.++ </Step><Step title="Sync created">If enabled, your Travis CI Sync will begin pushing your Infisical secrets to the configured repository (and branch, if scoped).++ </Step></Steps></Tab><Tab title="API">To create a **Travis CI Sync**, make an API request to the [Create Travis CI Sync](/api-reference/endpoints/secret-syncs/travis-ci/create) API endpoint.- ### Sample request — Repository scope+ The `branch` field inside `destinationConfig` is optional. Omit it to manage repository-level environment variables, or set it to scope the sync to a specific branch on Travis CI.++ ### Sample request```bash Requestcurl --request POST \@@ -95,38 +105,12 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a","environment": "dev","secretPath": "/",- "isEnabled": true,+ "isAutoSyncEnabled": true,"syncOptions": {"initialSyncBehavior": "overwrite-destination",- "autoSyncEnabled": true,"disableSecretDeletion": false},"destinationConfig": {- "scope": "repository",- "repositoryId": "12345678",- "repositorySlug": "my-org/my-repo"- }- }'- ```-- ### Sample request — Repository Branch scope-- ```bash Request- curl --request POST \- --url https://app.infisical.com/api/v1/secret-syncs/travis-ci \- --header 'Content-Type: application/json' \- --data '{- "name": "my-travis-ci-sync-main",- "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",- "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",- "environment": "prod",- "secretPath": "/",- "isEnabled": true,- "syncOptions": {- "initialSyncBehavior": "overwrite-destination"- },- "destinationConfig": {- "scope": "repository-branch","repositoryId": "12345678","repositorySlug": "my-org/my-repo","branch": "main"@@ -142,7 +126,7 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a","name": "my-travis-ci-sync","description": "Push Infisical secrets to the Travis CI repository",- "isEnabled": true,+ "isAutoSyncEnabled": true,"version": 1,"folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a","connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",@@ -162,7 +146,6 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi"lastRemovedAt": null,"syncOptions": {"initialSyncBehavior": "overwrite-destination",- "autoSyncEnabled": true,"disableSecretDeletion": false},"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",@@ -182,9 +165,9 @@ Infisical's Travis CI Sync keeps your Travis CI environment variables in sync wi},"destination": "travis-ci","destinationConfig": {- "scope": "repository","repositoryId": "12345678",- "repositorySlug": "my-org/my-repo"+ "repositorySlug": "my-org/my-repo",+ "branch": "main"}}}