Share via


ManagedKeyVaultSecurityKey Constructors

Definition

Overloads

ManagedKeyVaultSecurityKey(String)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

ManagedKeyVaultSecurityKey(String, KeyVaultSecurityKey+AuthenticationCallback)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

ManagedKeyVaultSecurityKey(String, String, String)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

ManagedKeyVaultSecurityKey(String)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

public ManagedKeyVaultSecurityKey (string keyIdentifier);
new Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey : string -> Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey
Public Sub New (keyIdentifier As String)

Parameters

keyIdentifier
String

The key identifier that is recognized by KeyVault.

Exceptions

if keyIdentifier is null or empty.

Applies to

ManagedKeyVaultSecurityKey(String, KeyVaultSecurityKey+AuthenticationCallback)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

public ManagedKeyVaultSecurityKey (string keyIdentifier, Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultSecurityKey.AuthenticationCallback callback);
new Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey : string * Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultSecurityKey.AuthenticationCallback -> Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey
Public Sub New (keyIdentifier As String, callback As KeyVaultSecurityKey.AuthenticationCallback)

Parameters

keyIdentifier
String

The key identifier that is recognized by KeyVault.

callback
KeyVaultSecurityKey.AuthenticationCallback

The authentication callback.

Exceptions

if callbackis null.

Applies to

ManagedKeyVaultSecurityKey(String, String, String)

Initializes a new instance of the ManagedKeyVaultSecurityKey class.

public ManagedKeyVaultSecurityKey (string keyIdentifier, string clientId, string clientSecret);
new Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey : string * string * string -> Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.ManagedKeyVaultSecurityKey
Public Sub New (keyIdentifier As String, clientId As String, clientSecret As String)

Parameters

keyIdentifier
String

The key identifier.

clientId
String

Identifier of the client.

clientSecret
String

Secret of the client identity.

Exceptions

if clientSecretis null or clientSecret.

Applies to