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 screenshots and update docs
adilson47da92c628a5
diff --git a/docs/documentation/platform/secret-rotation/salesforce-oauth-credentials.mdx b/docs/documentation/platform/secret-rotation/salesforce-oauth-credentials.mdxindex fb0429a447..76e45f472c 100644--- a/docs/documentation/platform/secret-rotation/salesforce-oauth-credentials.mdx+++ b/docs/documentation/platform/secret-rotation/salesforce-oauth-credentials.mdx@@ -18,7 +18,7 @@ description: "Learn how to automatically rotate Salesforce External Client App c<Warning>**Use a different External Client App than the one your Salesforce Connection authenticates with.**- Rotating the consumer secret of the same ECA that the connection itself uses would immediately invalidate the connection's credentials, breaking this rotation and any subsequent ones. Infisical refuses this configuration at runtime — choose a separate ECA, or create a dedicated Salesforce Connection for management operations.+ Rotating the consumer secret of the same ECA that the connection itself uses would immediately invalidate the connection's credentials, breaking this rotation and any subsequent ones. Infisical refuses this configuration at runtime.</Warning><Note>@@ -35,11 +35,11 @@ description: "Learn how to automatically rotate Salesforce External Client App c2. Select the **Salesforce OAuth Credentials** option.- + 3. Configure the rotation behavior, then click **Next**.- + - **Salesforce Connection** – The connection that will perform the rotation of the target External Client App's consumer secret.- **Rotation Interval** – The interval, in days, after which a rotation is triggered.@@ -48,31 +48,31 @@ description: "Learn how to automatically rotate Salesforce External Client App c4. Select the External Client App whose consumer secret you want to rotate, then click **Next**.- + - **External Client App** – The Salesforce ECA whose consumer secret will be rotated. The dropdown is populated from the connected org via the connection — only ECAs with OAuth client credentials enabled and reachable by the connection appear.5. Specify the secret names that the rotated consumer credentials should be mapped to, then click **Next**.- + - **Consumer Key** – The name of the secret in Infisical that the rotated consumer key will be mapped to (default: `SALESFORCE_CONSUMER_KEY`).- **Consumer Secret** – The name of the secret in Infisical that the rotated consumer secret will be mapped to (default: `SALESFORCE_CONSUMER_SECRET`).6. Give your rotation a name and description (optional), then click **Next**.- + - **Name** – A slug-friendly name for this rotation configuration.- **Description** (optional) – Notes about this rotation.7. Review your configuration, then click **Create Secret Rotation**.- + 8. Your **Salesforce OAuth Credentials** rotation is created. The current consumer key and consumer secret are available as secrets at the mapped paths. Subsequent rotations issue a new staged credential, switch the active secrets to it, then revoke the previous credential for zero-downtime rotation.- + </Tab><Tab title="API">To create a Salesforce OAuth Credentials rotation, call the [Create Salesforce OAuth Credentials Rotation](/api-reference/endpoints/secret-rotations/salesforce-oauth-credentials/create) API endpoint.diff --git a/docs/images/app-connections/salesforce/allow-access.png b/docs/images/app-connections/salesforce/allow-access.pngnew file mode 100644index 0000000000..447a5057d7Binary files /dev/null and b/docs/images/app-connections/salesforce/allow-access.png differdiff --git a/docs/images/app-connections/salesforce/app-connection.png b/docs/images/app-connections/salesforce/app-connection.pngnew file mode 100644index 0000000000..e89db69632Binary files /dev/null and b/docs/images/app-connections/salesforce/app-connection.png differdiff --git a/docs/images/app-connections/salesforce/basic-info-app.png b/docs/images/app-connections/salesforce/basic-info-app.pngnew file mode 100644index 0000000000..e910926ca4Binary files /dev/null and b/docs/images/app-connections/salesforce/basic-info-app.png differdiff --git a/docs/images/app-connections/salesforce/create-connected-app.png b/docs/images/app-connections/salesforce/create-connected-app.pngnew file mode 100644index 0000000000..459af98a68Binary files /dev/null and b/docs/images/app-connections/salesforce/create-connected-app.png differdiff --git a/docs/images/app-connections/salesforce/domain-search.png b/docs/images/app-connections/salesforce/domain-search.pngnew file mode 100644index 0000000000..ced5136c15Binary files /dev/null and b/docs/images/app-connections/salesforce/domain-search.png differdiff --git a/docs/images/app-connections/salesforce/domain-value.png b/docs/images/app-connections/salesforce/domain-value.pngnew file mode 100644index 0000000000..ac59da8b71Binary files /dev/null and b/docs/images/app-connections/salesforce/domain-value.png differdiff --git a/docs/images/app-connections/salesforce/fillup-info.png b/docs/images/app-connections/salesforce/fillup-info.pngnew file mode 100644index 0000000000..009327bd9cBinary files /dev/null and b/docs/images/app-connections/salesforce/fillup-info.png differdiff --git a/docs/images/app-connections/salesforce/get-secret-key.png b/docs/images/app-connections/salesforce/get-secret-key.pngnew file mode 100644index 0000000000..d48606c7e8Binary files /dev/null and b/docs/images/app-connections/salesforce/get-secret-key.png differdiff --git a/docs/images/app-connections/salesforce/oauth-scopes.png b/docs/images/app-connections/salesforce/oauth-scopes.pngnew file mode 100644index 0000000000..1db225716cBinary files /dev/null and b/docs/images/app-connections/salesforce/oauth-scopes.png differdiff --git a/docs/images/app-connections/salesforce/oauth-security.png b/docs/images/app-connections/salesforce/oauth-security.pngnew file mode 100644index 0000000000..ac2257cf8fBinary files /dev/null and b/docs/images/app-connections/salesforce/oauth-security.png differdiff --git a/docs/images/app-connections/salesforce/policies.png b/docs/images/app-connections/salesforce/policies.pngnew file mode 100644index 0000000000..287c76f206Binary files /dev/null and b/docs/images/app-connections/salesforce/policies.png differdiff --git a/docs/images/app-connections/salesforce/search-app.png b/docs/images/app-connections/salesforce/search-app.pngnew file mode 100644index 0000000000..ecc4c32e8aBinary files /dev/null and b/docs/images/app-connections/salesforce/search-app.png differdiff --git a/docs/images/app-connections/salesforce/search-infisical.png b/docs/images/app-connections/salesforce/search-infisical.pngnew file mode 100644index 0000000000..661fa12356Binary files /dev/null and b/docs/images/app-connections/salesforce/search-infisical.png differdiff --git a/docs/images/app-connections/salesforce/secret-value.png b/docs/images/app-connections/salesforce/secret-value.pngnew file mode 100644index 0000000000..dd7b23cc4cBinary files /dev/null and b/docs/images/app-connections/salesforce/secret-value.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/configuration.png b/docs/images/secret-rotations-v2/salesforce/configuration.pngnew file mode 100644index 0000000000..3c167d2fd0Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/configuration.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/created.png b/docs/images/secret-rotations-v2/salesforce/created.pngnew file mode 100644index 0000000000..b7964956e8Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/created.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/details.png b/docs/images/secret-rotations-v2/salesforce/details.pngnew file mode 100644index 0000000000..8051a2a03fBinary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/details.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/mappings.png b/docs/images/secret-rotations-v2/salesforce/mappings.pngnew file mode 100644index 0000000000..feb02b4f56Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/mappings.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/parameters.png b/docs/images/secret-rotations-v2/salesforce/parameters.pngnew file mode 100644index 0000000000..4cd915f5ccBinary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/parameters.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/review.png b/docs/images/secret-rotations-v2/salesforce/review.pngnew file mode 100644index 0000000000..43071ff67aBinary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/review.png differdiff --git a/docs/images/secret-rotations-v2/salesforce/salesforce-option.png b/docs/images/secret-rotations-v2/salesforce/salesforce-option.pngnew file mode 100644index 0000000000..e7e1fdb85aBinary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/salesforce-option.png differdiff --git a/docs/integrations/app-connections/salesforce.mdx b/docs/integrations/app-connections/salesforce.mdxindex ddb4b95344..eb5ecf0e8a 100644--- a/docs/integrations/app-connections/salesforce.mdx+++ b/docs/integrations/app-connections/salesforce.mdx@@ -9,25 +9,50 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co<Steps><Step title="Create a Connected App">- In Salesforce Setup, search for **App Manager** and click **New Connected App**. Choose **Create a Connected App** and provide a name, API name, and contact email.+ In Salesforce Setup, search for **External Client App Manager** and select it from the results.+ ++ Click **New External Client App**.+ ++ Provide a name, API name, and contact email.+ </Step><Step title="Enable OAuth Settings">Under **API (Enable OAuth Settings)**:- - Check **Enable OAuth Settings**.+ - Check **Enable OAuth**.- Provide a callback URL (any valid HTTPS URL — it is not used for the Client Credentials flow).- - Add the OAuth scopes your integration requires (typically **Manage user data via APIs (api)** and **Perform requests at any time (refresh_token, offline_access)**).- - Check **Enable Client Credentials Flow**.+ - Add the OAuth scopes your integration requires (for secret rotation, you must select **Manage user data via APIs (api)** and **Full access (full)**).+ - Check **Enable Client Credentials Flow** and **Enable Token Exchange Flow** (along with the sub-option **Require secret for Token Exchange Flow**).++ ++ Under **Security**, enable **Require secret for Web Server Flow** and **Require secret for Refresh Token Flow**.- Save the Connected App. It may take a few minutes for the new app to become available.+ Save the Connected App by clicking **Create**. It may take a few minutes for the new app to become available.+ </Step>- <Step title="Configure the Run-As User">- Open the Connected App's **Manage** page and click **Edit Policies**. Under **Client Credentials Flow**, select a **Run As** user. The token issued via Client Credentials will execute API calls as this user.+ <Step title="Configure the Policies">+ Open the Connected App's **Manage** page and select the **Policies** tab. Click **Edit**, check **Enable Client Credentials Flow**, and provide a username under **Run As (Username)** to specify which user the flow runs as.+ </Step><Step title="Copy the Consumer Key and Consumer Secret">- Back on the Connected App's detail page, click **Manage Consumer Details** to reveal the **Consumer Key** and **Consumer Secret**. Save both for the next section.+ Back on the **Settings** tab, go to the **OAuth Settings** section and click **Consumer Key and Secret** to open a new page where the values are displayed.+ ++ Copy both the **Consumer Key** and **Consumer Secret** for later.+ + </Step>+ <Step title="Enable access to External Client App Consumer">+ Under **External Client App Settings**, enable **Allow access to External Client App consumer secrets via REST API**.+ </Step><Step title="Identify Your My Domain URL">- In Salesforce Setup, search for **My Domain**. Copy the **Current My Domain URL** (e.g. `my-org.my.salesforce.com`). This is your instance URL.+ In Salesforce Setup, search for **My Domain**.+ ++ Copy the **Current My Domain URL** (e.g. `my-org.my.salesforce.com`). This is your instance URL.+ </Step></Steps>@@ -38,10 +63,13 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co1. Navigate to **App Connections** in your organization or project.2. Select the **Salesforce Connection** option.+ 3. Enter your **Instance URL**, **Consumer Key**, and **Consumer Secret** from the previous section, then click **Connect to Salesforce**.+ 4. Your **Salesforce Connection** is now available for use.+ </Tab><Tab title="API">To create a Salesforce Connection, make an API request to the [Create Salesforcediff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsxindex d7fb908e75..0a3971fc60 100644--- a/docs/snippets/AppConnectionsBrowser.jsx+++ b/docs/snippets/AppConnectionsBrowser.jsx@@ -18,6 +18,7 @@ export const AppConnectionsBrowser = () => {"DevOps Tools","Security","Networking & DNS",+ "SaaS",];const connections = [@@ -369,6 +370,14 @@ export const AppConnectionsBrowser = () => {"Learn how to connect your Okta to pull secrets from Infisical.",category: "Identity & Auth",},+ {+ name: "Salesforce",+ slug: "salesforce",+ path: "/integrations/app-connections/salesforce",+ description:+ "Learn how to connect your Salesforce to pull secrets from Infisical.",+ category: "SaaS",+ },{name: "OpenRouter",slug: "openrouter",diff --git a/docs/snippets/RotationsBrowser.jsx b/docs/snippets/RotationsBrowser.jsxindex 897d8ff255..81d229b97b 100644--- a/docs/snippets/RotationsBrowser.jsx+++ b/docs/snippets/RotationsBrowser.jsx@@ -4,7 +4,7 @@ export const RotationsBrowser = () => {const [searchTerm, setSearchTerm] = useState("");const [selectedCategory, setSelectedCategory] = useState("All");- const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics"];+ const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics", "SaaS"];const rotations = [{@@ -160,6 +160,15 @@ export const RotationsBrowser = () => {category: "Cloud Providers",rotationType: "Dual-Phase",},+ {+ name: "Salesforce External Client App",+ slug: "salesforce-external-client-app",+ path: "/documentation/platform/secret-rotation/salesforce-oauth-credentials",+ description:+ "Learn how to automatically rotate Salesforce OAuth credentials.",+ category: "SaaS",+ rotationType: "Dual-Phase",+ }].sort(function (a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());});