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

Commit 1d52ef4

Browse files
committed
Pass clientId in ManagedIdentity
1 parent 34afff6 commit 1d52ef4

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();
64+
credential = new ManagedIdentityCredential(_configuration.ClientId);
6565
}
6666
else
6767
{

0 commit comments

Comments
 (0)