Skip to content

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

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.mdx
index 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 c
2. Select the **Salesforce OAuth Credentials** option.
- ![Select Salesforce OAuth Credentials](/images/secret-rotations-v2/salesforce-oauth-credentials/select-salesforce-oauth-credentials.png)
+ ![Select Salesforce OAuth Credentials](/images/secret-rotations-v2/salesforce/salesforce-option.png)
3. Configure the rotation behavior, then click **Next**.
- ![Rotation Configuration](/images/secret-rotations-v2/salesforce-oauth-credentials/configuration.png)
+ ![Rotation Configuration](/images/secret-rotations-v2/salesforce/configuration.png)
- **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 c
4. Select the External Client App whose consumer secret you want to rotate, then click **Next**.
- ![Rotation Parameters](/images/secret-rotations-v2/salesforce-oauth-credentials/parameters.png)
+ ![Rotation Parameters](/images/secret-rotations-v2/salesforce/parameters.png)
- **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**.
- ![Rotation Secrets Mapping](/images/secret-rotations-v2/salesforce-oauth-credentials/secrets-mapping.png)
+ ![Rotation Secrets Mapping](/images/secret-rotations-v2/salesforce/mappings.png)
- **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**.
- ![Rotation Details](/images/secret-rotations-v2/salesforce-oauth-credentials/details.png)
+ ![Rotation Details](/images/secret-rotations-v2/salesforce/details.png)
- **Name** – A slug-friendly name for this rotation configuration.
- **Description** (optional) – Notes about this rotation.
7. Review your configuration, then click **Create Secret Rotation**.
- ![Rotation Review](/images/secret-rotations-v2/salesforce-oauth-credentials/review.png)
+ ![Rotation Review](/images/secret-rotations-v2/salesforce/review.png)
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.
- ![Rotation Created](/images/secret-rotations-v2/salesforce-oauth-credentials/created.png)
+ ![Rotation Created](/images/secret-rotations-v2/salesforce/created.png)
</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.png
new file mode 100644
index 0000000000..447a5057d7
Binary files /dev/null and b/docs/images/app-connections/salesforce/allow-access.png differ
diff --git a/docs/images/app-connections/salesforce/app-connection.png b/docs/images/app-connections/salesforce/app-connection.png
new file mode 100644
index 0000000000..e89db69632
Binary files /dev/null and b/docs/images/app-connections/salesforce/app-connection.png differ
diff --git a/docs/images/app-connections/salesforce/basic-info-app.png b/docs/images/app-connections/salesforce/basic-info-app.png
new file mode 100644
index 0000000000..e910926ca4
Binary files /dev/null and b/docs/images/app-connections/salesforce/basic-info-app.png differ
diff --git a/docs/images/app-connections/salesforce/create-connected-app.png b/docs/images/app-connections/salesforce/create-connected-app.png
new file mode 100644
index 0000000000..459af98a68
Binary files /dev/null and b/docs/images/app-connections/salesforce/create-connected-app.png differ
diff --git a/docs/images/app-connections/salesforce/domain-search.png b/docs/images/app-connections/salesforce/domain-search.png
new file mode 100644
index 0000000000..ced5136c15
Binary files /dev/null and b/docs/images/app-connections/salesforce/domain-search.png differ
diff --git a/docs/images/app-connections/salesforce/domain-value.png b/docs/images/app-connections/salesforce/domain-value.png
new file mode 100644
index 0000000000..ac59da8b71
Binary files /dev/null and b/docs/images/app-connections/salesforce/domain-value.png differ
diff --git a/docs/images/app-connections/salesforce/fillup-info.png b/docs/images/app-connections/salesforce/fillup-info.png
new file mode 100644
index 0000000000..009327bd9c
Binary files /dev/null and b/docs/images/app-connections/salesforce/fillup-info.png differ
diff --git a/docs/images/app-connections/salesforce/get-secret-key.png b/docs/images/app-connections/salesforce/get-secret-key.png
new file mode 100644
index 0000000000..d48606c7e8
Binary files /dev/null and b/docs/images/app-connections/salesforce/get-secret-key.png differ
diff --git a/docs/images/app-connections/salesforce/oauth-scopes.png b/docs/images/app-connections/salesforce/oauth-scopes.png
new file mode 100644
index 0000000000..1db225716c
Binary files /dev/null and b/docs/images/app-connections/salesforce/oauth-scopes.png differ
diff --git a/docs/images/app-connections/salesforce/oauth-security.png b/docs/images/app-connections/salesforce/oauth-security.png
new file mode 100644
index 0000000000..ac2257cf8f
Binary files /dev/null and b/docs/images/app-connections/salesforce/oauth-security.png differ
diff --git a/docs/images/app-connections/salesforce/policies.png b/docs/images/app-connections/salesforce/policies.png
new file mode 100644
index 0000000000..287c76f206
Binary files /dev/null and b/docs/images/app-connections/salesforce/policies.png differ
diff --git a/docs/images/app-connections/salesforce/search-app.png b/docs/images/app-connections/salesforce/search-app.png
new file mode 100644
index 0000000000..ecc4c32e8a
Binary files /dev/null and b/docs/images/app-connections/salesforce/search-app.png differ
diff --git a/docs/images/app-connections/salesforce/search-infisical.png b/docs/images/app-connections/salesforce/search-infisical.png
new file mode 100644
index 0000000000..661fa12356
Binary files /dev/null and b/docs/images/app-connections/salesforce/search-infisical.png differ
diff --git a/docs/images/app-connections/salesforce/secret-value.png b/docs/images/app-connections/salesforce/secret-value.png
new file mode 100644
index 0000000000..dd7b23cc4c
Binary files /dev/null and b/docs/images/app-connections/salesforce/secret-value.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/configuration.png b/docs/images/secret-rotations-v2/salesforce/configuration.png
new file mode 100644
index 0000000000..3c167d2fd0
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/configuration.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/created.png b/docs/images/secret-rotations-v2/salesforce/created.png
new file mode 100644
index 0000000000..b7964956e8
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/created.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/details.png b/docs/images/secret-rotations-v2/salesforce/details.png
new file mode 100644
index 0000000000..8051a2a03f
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/details.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/mappings.png b/docs/images/secret-rotations-v2/salesforce/mappings.png
new file mode 100644
index 0000000000..feb02b4f56
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/mappings.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/parameters.png b/docs/images/secret-rotations-v2/salesforce/parameters.png
new file mode 100644
index 0000000000..4cd915f5cc
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/parameters.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/review.png b/docs/images/secret-rotations-v2/salesforce/review.png
new file mode 100644
index 0000000000..43071ff67a
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/review.png differ
diff --git a/docs/images/secret-rotations-v2/salesforce/salesforce-option.png b/docs/images/secret-rotations-v2/salesforce/salesforce-option.png
new file mode 100644
index 0000000000..e7e1fdb85a
Binary files /dev/null and b/docs/images/secret-rotations-v2/salesforce/salesforce-option.png differ
diff --git a/docs/integrations/app-connections/salesforce.mdx b/docs/integrations/app-connections/salesforce.mdx
index 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.
+ ![Search External Client App Manager](/images/app-connections/salesforce/search-app.png)
+
+ Click **New External Client App**.
+ ![Create External Client App](/images/app-connections/salesforce/create-connected-app.png)
+
+ Provide a name, API name, and contact email.
+ ![Basic Information](/images/app-connections/salesforce/basic-info-app.png)
</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**).
+
+ ![OAuth Scopes and Flow Enablement](/images/app-connections/salesforce/oauth-scopes.png)
+
+ 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.
+ ![OAuth Security Settings](/images/app-connections/salesforce/oauth-security.png)
</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.
+ ![Policies](/images/app-connections/salesforce/policies.png)
</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.
+ ![Consumer Key and Secret Button](/images/app-connections/salesforce/get-secret-key.png)
+
+ Copy both the **Consumer Key** and **Consumer Secret** for later.
+ ![Consumer Details](/images/app-connections/salesforce/secret-value.png)
+ </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**.
+ ![Allow Access to Consumer Secrets](/images/app-connections/salesforce/allow-access.png)
</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**.
+ ![Search My Domain](/images/app-connections/salesforce/domain-search.png)
+
+ Copy the **Current My Domain URL** (e.g. `my-org.my.salesforce.com`). This is your instance URL.
+ ![My Domain URL](/images/app-connections/salesforce/domain-value.png)
</Step>
</Steps>
@@ -38,10 +63,13 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co
1. Navigate to **App Connections** in your organization or project.
2. Select the **Salesforce Connection** option.
+ ![Select Salesforce Connection](/images/app-connections/salesforce/search-infisical.png)
3. Enter your **Instance URL**, **Consumer Key**, and **Consumer Secret** from the previous section, then click **Connect to Salesforce**.
+ ![Create Salesforce Connection](/images/app-connections/salesforce/fillup-info.png)
4. Your **Salesforce Connection** is now available for use.
+ ![Salesforce Connection Created](/images/app-connections/salesforce/app-connection.png)
</Tab>
<Tab title="API">
To create a Salesforce Connection, make an API request to the [Create Salesforce
diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsx
index 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.jsx
index 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());
});