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

Commit 2a23db4

Browse files
committed
Try again with DefaultAzureCredential
1 parent e26b005 commit 2a23db4

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
@@ -61,7 +61,7 @@ private SecretClient InitializeClient()
6161
TokenCredential credential = null;
6262
if (_configuration.UseManagedIdentity)
6363
{
64-
credential = new ManagedIdentityCredential(_configuration.ClientId);
64+
credential = new DefaultAzureCredential();
6565
}
6666
else
6767
{

0 commit comments

Comments
 (0)