你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyResolver 构造函数

定义

重载

KeyResolver()

初始化 类的新实例 KeyResolver 以便模拟。

KeyResolver(TokenCredential)

初始化 KeyResolver 类的新实例。

KeyResolver(TokenCredential, CryptographyClientOptions)

初始化 KeyResolver 类的新实例。

KeyResolver()

Source:
KeyResolver.cs
Source:
KeyResolver.cs

初始化 类的新实例 KeyResolver 以便模拟。

protected KeyResolver ();
Protected Sub New ()

适用于

KeyResolver(TokenCredential)

Source:
KeyResolver.cs
Source:
KeyResolver.cs

初始化 KeyResolver 类的新实例。

public KeyResolver (Azure.Core.TokenCredential credential);
new Azure.Security.KeyVault.Keys.Cryptography.KeyResolver : Azure.Core.TokenCredential -> Azure.Security.KeyVault.Keys.Cryptography.KeyResolver
Public Sub New (credential As TokenCredential)

参数

credential
TokenCredential

TokenCredential用于对对保管库的请求进行身份验证的 ,例如 DefaultAzureCredential。

例外

credential 为 null。

适用于

KeyResolver(TokenCredential, CryptographyClientOptions)

Source:
KeyResolver.cs
Source:
KeyResolver.cs

初始化 KeyResolver 类的新实例。

public KeyResolver (Azure.Core.TokenCredential credential, Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions options);
new Azure.Security.KeyVault.Keys.Cryptography.KeyResolver : Azure.Core.TokenCredential * Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions -> Azure.Security.KeyVault.Keys.Cryptography.KeyResolver
Public Sub New (credential As TokenCredential, options As CryptographyClientOptions)

参数

credential
TokenCredential

TokenCredential用于对对保管库的请求进行身份验证的 ,例如 DefaultAzureCredential。

options
CryptographyClientOptions

用于为 实例以及创建的所有实例CryptographyClient配置发送到 密钥保管库 KeyResolver 的请求的管理选项。

例外

credential 为 null。

适用于