Access Azure Blob using external access token with additional policy

Amy Davies 0 Reputation points
2024-09-05T19:45:29.5333333+00:00

I have a workload that is running outside of Azure. The workload requires a blob stored in Azure in order to run.

The workload can provide a custom token that follows OIDC Protocol (contains iss, sub, aud, exp etc.). The token also contains custom claims in the JWT.

I need to write policy in Azure to allow the workload access to the blob based on certain fields in the token (iss, aud etc.) as well as based on certain custom claims. 

Where should I be looking to achieve this workflow? Are there any tutorials for me to look into. I’ve looked into Workload Identity Federation which seems to be a good fit but the policy piece from there is not obvious - https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation and user-assigned managed identity as well as Azure Policy

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
695 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,834 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,653 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.