Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 7637864

Browse files
agrerdembayar
authored andcommitted
Trying ManagedIdentityCredential instead of DefaultAzureCredential
1 parent 810a9a2 commit 7637864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGet.Services.KeyVault/KeyVaultReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private SecretClient InitializeClient()
6262
TokenCredential credential = null;
6363
if (_configuration.UseManagedIdentity)
6464
{
65-
credential = new DefaultAzureCredential();
65+
credential = new ManagedIdentityCredential();
6666
}
6767
else
6868
{

0 commit comments

Comments
 (0)