Azure Managed Identity from within a docker container running locally

Somnath Shukla 411 Reputation points
2020-07-03T10:13:15.223+00:00

I am running a docker container consisting of a asp.net core 3.1 api. This api needs access to Azure key vault how can i assigned the mananed idenity to docker conatiner.
My code in working from Vs code and command line.
my code is

ProtectKeysWithAzureKeyVault(keyVaultIdentifier, new DefaultAzureCredential(true));

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,569 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Fisher 1 Reputation point
    2022-11-03T15:53:12.323+00:00

    Hi. Did you resolve this? I have the same issue

    0 comments No comments