I have created an Azure Key Vault which saves my application secrets.
And I want to retrieve the secrets from my Controller code. My controller code is based on ASP.Net core.
From here, https://learn.microsoft.com/en-us/dotnet/api/overview/azure/identity-readme
I see the example of how to create a SecretClient
// Create a secret client using the DefaultAzureCredential
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), new DefaultAzureCredential());
My question is Since I am running the code on the service side (in Controller side), how can I create DefaultAzureCredential without any interactive authentication?