Skip to content

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

docs: azure app connection certificate auth

Daniel Hougaard53951c57bdb5
diff --git a/docs/images/app-connections/azure/client-secrets/create-certificate-method.png b/docs/images/app-connections/azure/client-secrets/create-certificate-method.png
new file mode 100644
index 0000000000..37f6423102
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/create-certificate-method.png differ
diff --git a/docs/images/app-connections/azure/client-secrets/upload-certificate.png b/docs/images/app-connections/azure/client-secrets/upload-certificate.png
new file mode 100644
index 0000000000..518c70b2dd
Binary files /dev/null and b/docs/images/app-connections/azure/client-secrets/upload-certificate.png differ
diff --git a/docs/integrations/app-connections/azure-client-secrets.mdx b/docs/integrations/app-connections/azure-client-secrets.mdx
index cb25fb5968..6c3b48ef62 100644
--- a/docs/integrations/app-connections/azure-client-secrets.mdx
+++ b/docs/integrations/app-connections/azure-client-secrets.mdx
@@ -66,29 +66,72 @@ Infisical currently only supports two methods for connecting to Azure, which are
</Accordion>
-<Accordion title="Client Secret Authentication">
- Ensure your Azure application has the required permissions that Infisical needs for the Azure Client Secrets connection to work.
- **Prerequisites:**
- - An active Azure setup.
+<AccordionGroup>
- <Steps>
- <Step title="Assign API permissions to the application">
- For the Azure Client Secrets connection to work, assign the following permissions to your Azure application:
+ <Accordion title="Client Secret Authentication">
+ Ensure your Azure application has the required permissions that Infisical needs for the Azure Client Secrets connection to work.
+
+ **Prerequisites:**
+ - An active Azure setup.
+
+ <Steps>
+ <Step title="Assign API permissions to the application">
+ For the Azure Client Secrets connection to work, assign the following permissions to your Azure application:
+
+ #### Required API Permissions
+
+ **Microsoft Graph**
+ - `Application.ReadWrite.All`
+ - `Application.ReadWrite.OwnedBy`
+ - `Application.ReadWrite.All` (Delegated)
+ - `Directory.ReadWrite.All` (Delegated)
+ - `User.Read` (Delegated)
+
+ ![Azure client secrets](/images/integrations/azure-client-secrets/app-api-permissions.png)
+ </Step>
+ </Steps>
+ </Accordion>
+ <Accordion title="Certificate Authentication">
+ Ensure your Azure application has the required permissions that Infisical needs for the Azure Client Secrets connection to work.
+
+ **Prerequisites:**
+ - An active Azure setup.
+
+ <Steps>
+ <Step title="Assign API permissions to the application">
+ For the Azure Client Secrets connection to work, assign the following permissions to your Azure application:
+
+ #### Required API Permissions
+
+ **Microsoft Graph**
+ - `Application.ReadWrite.All`
+ - `Application.ReadWrite.OwnedBy`
+ - `Application.ReadWrite.All` (Delegated)
+ - `Directory.ReadWrite.All` (Delegated)
+ - `User.Read` (Delegated)
+
+ ![Azure client secrets](/images/integrations/azure-client-secrets/app-api-permissions.png)
+ </Step>
+
+ <Step title="Upload your certificate to your Azure App Registration">
+ Navigate to the **Certificates & secrets** section of your Azure App Registration, and press the **Upload certificate** button.
+
+ Select the **Upload** button and upload your certificate.
+
+ ![Upload certificate](/images/app-connections/azure/client-secrets/upload-certificate.png)
+
+ <Tip>
+ Keep in mind that you'll need the both the certificate & private key in order to configure the Azure Client Secrets connection within Infisical.
+ </Tip>
+ </Step>
+ </Steps>
+
+ </Accordion>
+
+</AccordionGroup>
- #### Required API Permissions
-
- **Microsoft Graph**
- - `Application.ReadWrite.All`
- - `Application.ReadWrite.OwnedBy`
- - `Application.ReadWrite.All` (Delegated)
- - `Directory.ReadWrite.All` (Delegated)
- - `User.Read` (Delegated)
- ![Azure client secrets](/images/integrations/azure-client-secrets/app-api-permissions.png)
- </Step>
- </Steps>
-</Accordion>
## Setup Azure Connection in Infisical
@@ -123,6 +166,17 @@ Infisical currently only supports two methods for connecting to Azure, which are
![Connect via Azure OAUth](/images/app-connections/azure/client-secrets/create-client-secrets-method.png)
</Step>
</Tab>
+ <Tab title="Certificate">
+ <Step title="Create Connection">
+ Fill in the **Tenant ID**, **Client ID**, **Certificate**, and **Private Key** fields with the Directory (Tenant) ID, Application (Client) ID, Certificate and Private Key you obtained in the [previous step](#certificate-authentication).
+
+ <Tip>
+ The private key is never transmitted to Azure, and it is only used to sign the client assertion used to authenticate with Azure.
+ </Tip>
+
+ ![Connect via Azure Certificate](/images/app-connections/azure/client-secrets/create-certificate-method.png)
+ </Step>
+ </Tab>
</Tabs>
</Step>
<Step title="Connection Created">