Skip to content

Commit

Permalink
Use azure cli credentials (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn authored Nov 22, 2023
1 parent 689bcce commit 4668e2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public AzureKeyVaultEncryptionProvider(
}

public AzureKeyVaultEncryptionProvider(AzureKeyVaultEncryptionProviderDefinition definition)
: this(new KeyClient(new Uri(definition.Uri), new DefaultAzureCredential())
: this(new KeyClient(new Uri(definition.Uri), new AzureCliCredential())
.GetCryptographyClient(definition.KeyName, definition.KeyVersion))
{
}
Expand Down

0 comments on commit 4668e2e

Please sign in to comment.