A developer needs to read a secret from Azure Key Vault in a .NET application using DefaultAzureCredential. The app runs locally using a developer account and in production using a managed identity. What is the correct NuGet package to add?
-
A
Azure.Security.KeyVault.Secrets and Azure.Identity
-
B
Microsoft.Azure.KeyVault and Microsoft.IdentityModel.Clients.ActiveDirectory
-
C
Azure.Security.KeyVault.Secrets and Microsoft.Azure.Services.AppAuthentication
-
D
Azure.KeyVault.Core and Azure.Core