Skip to main content
An Azure Blob Storage connection authenticates Infisical to an Azure storage account, so Infisical can store PAM session recordings in a container that you own. The connection uses either a Microsoft Entra app registration with a client secret, or one of the storage account’s access keys. Each connection gives access to one storage account. Infisical connects to the storage account at https://<storage-account-name>.blob.core.windows.net, so only storage accounts in the Azure public cloud are supported, not Azure Government or Azure China.
This guide only authenticates Infisical with Azure Blob Storage. Once the app connection is ready, you can use it to set up integrations.

Prerequisites

  • An Azure storage account in the Azure public cloud
  • For the Client Secret method, permission to create app registrations in Microsoft Entra ID and the Owner or User Access Administrator role on the storage account, to assign roles
  • For the Access Key method, permission to view the storage account’s access keys, such as the Storage Account Key Operator Service Role

Step 1: Give Infisical access to the storage account

Infisical needs credentials that can read, write, and delete blobs in the storage account. Pick the method you’ll use in the connection form.
With the Client Secret method, Infisical signs in as a Microsoft Entra app registration. The app registration needs two roles:
  • Storage Blob Delegator on the storage account, to get the key Infisical signs recording links with
  • Storage Blob Data Contributor on the container that stores recordings, to write, read and delete recordings
With these roles, the app registration can’t read or change the storage account’s other containers.
1
In the Azure portal, go to Microsoft Entra ID > App registrations and select New registration. Enter a name, such as infisical-pam-recordings, and select Register.
2
On the app registration’s Overview page, copy the Application (client) ID and the Directory (tenant) ID.
3
Go to Certificates & secrets > Client secrets and select New client secret. Pick an expiry, select Add, and copy the secret’s Value.Azure only shows the value once. Before the secret expires, create a new one and update the connection’s credentials in Infisical.
4
Open the storage account, go to Access control (IAM), and select Add > Add role assignment. Search for Storage Blob Delegator, select the role, and select Next.
5
Select Select members, search for the app registration by name, and select it. Then select Review + assign.
6
In the storage account, go to Data storage > Containers and open the container that stores recordings. Go to Access control (IAM) and select Add > Add role assignment.
7
Search for Storage Blob Data Contributor, select the role, and select Next. Then select the app registration under Select members, and select Review + assign.
A new role assignment can take a few minutes to apply. If Infisical can’t check the credentials right after you assign the role, wait a few minutes and try again.

Step 2: Create the app connection

Next, create the app connection in Infisical. PAM only uses organization-level connections for session recordings.
1
In the sidebar, select Integrations, then open the App Connections tab.App Connections Tab
2
Select Add Connection and choose Azure Blob Storage.
3
Select the method you set up in Step 1, then fill out the form’s fields:
  • Name: A descriptive name for the connection
  • Description (optional): A note for future reference
  • Method: Client Secret
  • Storage Account Name: The name of the storage account, which is 3 to 24 lowercase letters and numbers
  • Tenant ID: The Directory (tenant) ID you copied from the app registration
  • Client ID: The Application (client) ID you copied from the app registration
  • Client Secret: The client secret’s Value you copied from the app registration
Then, select Connect to Azure Blob Storage.
When you submit the form, Infisical checks the credentials against the storage account:
  • Client Secret: Infisical signs in to Microsoft Entra ID and requests a user delegation key from the storage account, which fails if the client secret is wrong or the app registration has no role on the storage account
  • Access Key: Infisical reads the storage account’s information, which fails if the key or the storage account name is wrong
If the check fails, Infisical doesn’t save the connection, and the error message says which part failed. The check doesn’t test access to a container. Infisical tests the container when you select it in a PAM template.
Your Azure Blob Storage app connection is ready to use.

Step 3: Configure integrations

Now that your Azure Blob Storage app connection is configured, you can use it to set up the following integrations:

PAM session recording storage

Store PAM session recordings in a container in your storage account.