Skip to content

Unable to run non-root container on kubernetes using workload identity #5981

Discussion options

You must be logged in to vote

Hi @lbussell, sorry. This is using mcr.microsoft.com/dotnet/aspnet:8.0 built with mcr.microsoft.com/dotnet/sdk:8.0 and I believe the error is coming from this line of code

builder.Configuration.AddAzureKeyVault(new Uri($"https://{keyVaultName}.vault.azure.net/"), new DefaultAzureCredential());

This is all running on AKS

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lbussell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #5972 on October 15, 2024 15:24.