AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault Method

Definition

Overloads

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.KeyVault.KeyVaultClient client, string keyIdentifier);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.KeyVault.KeyVaultClient * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, client As KeyVaultClient, keyIdentifier As String) As IDataProtectionBuilder

Parameters

builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

client
KeyVaultClient KeyVaultClient KeyVaultClient

The KeyVaultClient to use for KeyVault access.

keyIdentifier
String String String

The Azure KeyVault key identifier used for key encryption.

Returns

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, keyIdentifier As String, clientId As String, certificate As X509Certificate2) As IDataProtectionBuilder

Parameters

builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

keyIdentifier
String String String

The Azure KeyVault key identifier used for key encryption.

clientId
String String String

The application client id.

Returns

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String) ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Configures the data protection system to protect keys with specified key in Azure KeyVault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, string clientId, string clientSecret);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string * string * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, keyIdentifier As String, clientId As String, clientSecret As String) As IDataProtectionBuilder

Parameters

builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

keyIdentifier
String String String

The Azure KeyVault key identifier used for key encryption.

clientId
String String String

The application client id.

clientSecret
String String String

The client secret to use for authentication.

Returns

Applies to