KeyResolver Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KeyResolver() |
Initializes a new instance of the KeyResolver class for mocking. |
KeyResolver(TokenCredential) |
Initializes a new instance of the KeyResolver class. |
KeyResolver(TokenCredential, CryptographyClientOptions) |
Initializes a new instance of the KeyResolver class. |
KeyResolver()
- Source:
- KeyResolver.cs
- Source:
- KeyResolver.cs
Initializes a new instance of the KeyResolver class for mocking.
protected KeyResolver ();
Protected Sub New ()
Applies to
KeyResolver(TokenCredential)
- Source:
- KeyResolver.cs
- Source:
- KeyResolver.cs
Initializes a new instance of the KeyResolver class.
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)
Parameters
- credential
- TokenCredential
A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.
Exceptions
credential
is null.
Applies to
KeyResolver(TokenCredential, CryptographyClientOptions)
- Source:
- KeyResolver.cs
- Source:
- KeyResolver.cs
Initializes a new instance of the KeyResolver class.
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)
Parameters
- credential
- TokenCredential
A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.
- options
- CryptographyClientOptions
Options to configure the management of the requests sent to Key Vault for both the KeyResolver instance as well as all created instances of CryptographyClient.
Exceptions
credential
is null.
Applies to
Azure SDK for .NET