Available authentication methods between CloudSoda and Azure are changing because of Microsoft's best practice of not using storage account key authentication due to security concerns. We recommend that CloudSoda customers use the following process to create an IAM user for the CloudSoda application in order to integrate securely with Azure.
Register an Application
- Log into the Azure console.
- Navigate to App Registration by clicking Microsoft Entra ID > Add > App registration.
Alternatively, enter "app registration" in the search bar and select App registrations.
The Register an application screen loads.
- Enter an application name, select the single tenant account type (first option), and click Register. Do not enter redirect URI values.
- Copy the Application (client) ID and Directory (tenant) ID for later use.
Add Authorization Credentials to the Application
CloudSoda supports two authorization credential methods - using certificates and client secrets. Both methods are detailed below.
Using a Client Secret (Option A)
- In the Client credentials section, click Add a certificate or secret.
- Add the client secret to Microsoft Entra ID.
- Click Certificates & secrets > Client secrets.
- In the Client secrets section, click New Client Secret, enter a description, select an expiration duration, and click Add.
- Copy the Value and Secret ID for later use.
- Click Overview and verify that the Managed Application entry lists shows the application you created.
Using a Public Certificate (Option B)
- In the Client credentials section, click Add a certificate or secret.
- Create a public certificate. For details, see:
- Add the certificate to Microsoft Entra ID.
- Click Certificates & secrets > Certificates.
- In the Upload certificate section, upload the certificate (public key), enter a description, and click Add.
- Copy the Certificate ID for future use.
- Click Overview and verify that the Managed Application entry lists shows the application you created. Once verified, go to the next procedure, Assign Permissions to the Application.
Assign Permissions to the Application
- Return to the storage account screen.
- Click Access Control (IAM) > Role Assignments > Add > Add Role Assignment.
The Add role assignment screen displays.
- Assign read-write permissions.
- Search for and select Storage Blob Data Reader.
- Search for and select Storage Blob Data Contributor.
- Search for and select Storage Blob Data Reader.
- Click Members > Select Members and search for the service principal name of the application.
- Select the application name and click Add.
- In the Members section, verify the Object ID is listed.
Configure CloudSoda
- Log into CloudSoda.
- Click Agent > Accessor > Create a New Accessor.
- Create and configure the Accessor.
- Enter an Accessor Name, Account, and Scope.
- For the Accessor Type, select Azure.
- For the Authorization Type, select Client Certificate Credential or Client Secret Credential, depending on the authorization credential method you used.
- Edit the Accessor for the authorization credentials.
- If using a public certificate:
- Enter the Tenant ID, Client ID, Certificate ID and Certificate. Additionally, if using a .p12 file, enter the Password.
- Click Configure Accessor.
- If using a client secret:
- Enter the enter the Tenant ID, Client ID, Secret ID, and Secret.
- Click Configure Accessor
- If using a public certificate:
- Select the Accessor you just created.
- Select the ellipsis (...) in the top right corner and click Enable.
The Accessor is now enabled.
- Attach the Accessor to an Agent.
-
- Click Agents in the top right corner to return to the Agents list.
- Select the Agent. A pop-up window displays.
- Click Attach Storage.
- Select the previously-created Azure storage.
- Select the Accessor or method you created.
- Click Attach.
-
The Agent is now listed with the assigned storage. The Accessor's status is displayed on the Agent page.
Reference Articles
These articles provide additional information about app registrations and workload identities:
Comments
0 comments
Please sign in to leave a comment.