Skip to content

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

docs

Daniel Hougaarda8006cfce794
diff --git a/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id-field.png b/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id-field.png
new file mode 100644
index 0000000000..db7ca4b640
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id-field.png differ
diff --git a/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id.png b/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id.png
new file mode 100644
index 0000000000..2d96d26937
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/credential-rotation-key-id.png differ
diff --git a/docs/images/app-connections/azure/client-secrets/credential-rotation-schedule.png b/docs/images/app-connections/azure/client-secrets/credential-rotation-schedule.png
new file mode 100644
index 0000000000..a78e84e8ac
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/credential-rotation-schedule.png differ
diff --git a/docs/images/app-connections/azure/client-secrets/credential-rotation-toggle.png b/docs/images/app-connections/azure/client-secrets/credential-rotation-toggle.png
new file mode 100644
index 0000000000..911ccbbc00
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/credential-rotation-toggle.png differ
diff --git a/docs/images/app-connections/azure/key-vault/credential-rotation-key-id-field.png b/docs/images/app-connections/azure/key-vault/credential-rotation-key-id-field.png
new file mode 100644
index 0000000000..db7ca4b640
Binary files /dev/null and b/docs/images/app-connections/azure/key-vault/credential-rotation-key-id-field.png differ
diff --git a/docs/images/app-connections/azure/key-vault/credential-rotation-key-id.png b/docs/images/app-connections/azure/key-vault/credential-rotation-key-id.png
new file mode 100644
index 0000000000..2d96d26937
Binary files /dev/null and b/docs/images/app-connections/azure/key-vault/credential-rotation-key-id.png differ
diff --git a/docs/images/app-connections/azure/key-vault/credential-rotation-schedule.png b/docs/images/app-connections/azure/key-vault/credential-rotation-schedule.png
new file mode 100644
index 0000000000..a78e84e8ac
Binary files /dev/null and b/docs/images/app-connections/azure/key-vault/credential-rotation-schedule.png differ
diff --git a/docs/images/app-connections/azure/key-vault/credential-rotation-toggle.png b/docs/images/app-connections/azure/key-vault/credential-rotation-toggle.png
new file mode 100644
index 0000000000..911ccbbc00
Binary files /dev/null and b/docs/images/app-connections/azure/key-vault/credential-rotation-toggle.png differ
diff --git a/docs/integrations/app-connections/azure-client-secrets.mdx b/docs/integrations/app-connections/azure-client-secrets.mdx
index 97a3bb33c1..006ee255e7 100644
--- a/docs/integrations/app-connections/azure-client-secrets.mdx
+++ b/docs/integrations/app-connections/azure-client-secrets.mdx
@@ -164,6 +164,10 @@ Infisical currently only supports two methods for connecting to Azure, which are
Fill in the **Tenant ID**, **Client ID** and **Client Secret** fields with the Directory (Tenant) ID, Application (Client) ID and Client Secret you obtained in the previous step.
![Connect via Azure OAUth](/images/app-connections/azure/client-secrets/create-client-secrets-method.png)
+
+ <Tip>
+ You can optionally enable **Automatic Credential Rotation** for this connection. See the [Automatic Credential Rotation](#automatic-credential-rotation) section below for details.
+ </Tip>
</Step>
</Tab>
<Tab title="Certificate">
@@ -183,3 +187,37 @@ Infisical currently only supports two methods for connecting to Azure, which are
Your **Azure Client Secrets Connection** is now available for use. ![Azure Client Secrets](/images/app-connections/azure/client-secrets/oauth-connection.png)
</Step>
</Steps>
+
+## Automatic Credential Rotation
+
+When using the **Client Secret** authentication method, Infisical can automatically rotate the Client Secret of your Azure application on a recurring schedule. When enabled, Infisical will immediately generate a new Client Secret on connection creation and revoke the original one, ensuring that no external party retains access using the credentials you provided.
+
+<Note>
+ Automatic Credential Rotation is only available for the **Client Secret** authentication method.
+</Note>
+
+<Steps>
+ <Step title="Locate the Key ID of your Client Secret">
+ Before enabling rotation, you'll need the **Key ID** of the Client Secret you are using to authenticate. Navigate to your App Registration in the Azure Portal, then go to **Certificates & secrets**. Copy the **Secret ID** (Key ID) of the secret you are providing to Infisical.
+
+ ![Azure Client Secret Key ID](/images/app-connections/azure/client-secrets/credential-rotation-key-id.png)
+ </Step>
+ <Step title="Enable Automatic Credential Rotation">
+ When creating or editing your connection, toggle on the **Automatic Credential Rotation** switch.
+
+ ![Enable Automatic Credential Rotation](/images/app-connections/azure/client-secrets/credential-rotation-toggle.png)
+ </Step>
+ <Step title="Provide the Client Secret Key ID">
+ Enter the **Key ID** you copied in the previous step into the **Client Secret Key ID** field. Infisical uses this to revoke your original secret after generating a new one.
+
+ ![Client Secret Key ID Field](/images/app-connections/azure/client-secrets/credential-rotation-key-id-field.png)
+ </Step>
+ <Step title="Configure the Rotation Schedule">
+ Set the **Rotation Interval** (in days) to define how often the credential should be rotated, and set **Rotate At** to the local time of day at which the rotation should occur.
+
+ - **Rotation Interval** – How many days between each rotation.
+ - **Rotate At** – The local time of day at which the rotation will be triggered.
+
+ ![Rotation Schedule](/images/app-connections/azure/client-secrets/credential-rotation-schedule.png)
+ </Step>
+</Steps>
diff --git a/docs/integrations/app-connections/azure-key-vault.mdx b/docs/integrations/app-connections/azure-key-vault.mdx
index 955711a70b..f4a58223d9 100644
--- a/docs/integrations/app-connections/azure-key-vault.mdx
+++ b/docs/integrations/app-connections/azure-key-vault.mdx
@@ -114,7 +114,12 @@ Infisical currently only supports two methods for connecting to Azure, which are
<Steps>
<Step title="Create Connection">
Fill in the **Tenant ID**, **Client ID**, **Client Secret** fields with the Directory (Tenant) ID, Application (Client) ID, Client Secret you obtained in the previous step.
+
![Connect via Azure OAUth](/images/app-connections/azure/key-vault/create-client-secrets-method.png)
+
+ <Tip>
+ You can optionally enable **Automatic Credential Rotation** for this connection. See the [Automatic Credential Rotation](#automatic-credential-rotation) section below for details.
+ </Tip>
</Step>
</Steps>
</Tab>
@@ -124,3 +129,37 @@ Infisical currently only supports two methods for connecting to Azure, which are
Your **Azure Key Vault Connection** is now available for use. ![Assume Role AWS Connection](/images/app-connections/azure/key-vault/oauth-connection.png)
</Step>
</Steps>
+
+## Automatic Credential Rotation
+
+When using the **Client Secret** authentication method, Infisical can automatically rotate the Client Secret of your Azure application on a recurring schedule. When enabled, Infisical will immediately generate a new Client Secret on connection creation and revoke the original one, ensuring that no external party retains access using the credentials you provided.
+
+<Note>
+ Automatic Credential Rotation is only available for the **Client Secret** authentication method.
+</Note>
+
+<Steps>
+ <Step title="Locate the Key ID of your Client Secret">
+ Before enabling rotation, you'll need the **Key ID** of the Client Secret you are using to authenticate. Navigate to your App Registration in the Azure Portal, then go to **Certificates & secrets**. Copy the **Secret ID** (Key ID) of the secret you are providing to Infisical.
+
+ ![Azure Client Secret Key ID](/images/app-connections/azure/key-vault/credential-rotation-key-id.png)
+ </Step>
+ <Step title="Enable Automatic Credential Rotation">
+ When creating or editing your connection, toggle on the **Automatic Credential Rotation** switch.
+
+ ![Enable Automatic Credential Rotation](/images/app-connections/azure/key-vault/credential-rotation-toggle.png)
+ </Step>
+ <Step title="Provide the Client Secret Key ID">
+ Enter the **Key ID** you copied in the previous step into the **Client Secret Key ID** field. Infisical uses this to revoke your original secret after generating a new one.
+
+ ![Client Secret Key ID Field](/images/app-connections/azure/key-vault/credential-rotation-key-id-field.png)
+ </Step>
+ <Step title="Configure the Rotation Schedule">
+ Set the **Rotation Interval** (in days) to define how often the credential should be rotated, and set **Rotate At** to the local time of day at which the rotation should occur.
+
+ - **Rotation Interval** – How many days between each rotation.
+ - **Rotate At** – The local time of day at which the rotation will be triggered.
+
+ ![Rotation Schedule](/images/app-connections/azure/key-vault/credential-rotation-schedule.png)
+ </Step>
+</Steps>