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

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Identity Manager
{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.