AzureDataProtectionKeyVaultKeyBuilderExtensions.ProtectKeysWithAzureKeyVault Méthode

Définition

Surcharges

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, IKeyEncryptionKeyResolver)

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider,IKeyEncryptionKeyResolver>)

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure Key Vault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider,TokenCredential>)

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure Key Vault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, Uri, TokenCredential)

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, IKeyEncryptionKeyResolver)

Source:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure KeyVault.

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

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
String

Identificateur de clé Azure Key Vault utilisé pour le chiffrement de clé.

keyResolver
IKeyEncryptionKeyResolver

IKeyEncryptionKeyResolver à utiliser pour l’accès Key Vault.

Retours

Valeur builder.

S’applique à

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider,IKeyEncryptionKeyResolver>)

Source:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure Key Vault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, Func<IServiceProvider,Azure.Core.Cryptography.IKeyEncryptionKeyResolver> keyResolverFactory);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string * Func<IServiceProvider, Azure.Core.Cryptography.IKeyEncryptionKeyResolver> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, keyIdentifier As String, keyResolverFactory As Func(Of IServiceProvider, IKeyEncryptionKeyResolver)) As IDataProtectionBuilder

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
String

Identificateur de clé Azure Key Vault utilisé pour le chiffrement de clé.

keyResolverFactory
Func<IServiceProvider,IKeyEncryptionKeyResolver>

Délégué de fabrique à créer à IKeyEncryptionKeyResolver utiliser pour Key Vault accès.

Retours

Valeur builder.

S’applique à

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider,TokenCredential>)

Source:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure Key Vault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string keyIdentifier, Func<IServiceProvider,Azure.Core.TokenCredential> tokenCredentialFactory);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string * Func<IServiceProvider, Azure.Core.TokenCredential> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, keyIdentifier As String, tokenCredentialFactory As Func(Of IServiceProvider, TokenCredential)) As IDataProtectionBuilder

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
String

Identificateur de clé Azure Key Vault utilisé pour le chiffrement de clé.

tokenCredentialFactory
Func<IServiceProvider,TokenCredential>

Délégué de fabrique à créer à TokenCredential utiliser pour l’authentification Key Vault accès.

Retours

Valeur builder.

S’applique à

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, Uri, TokenCredential)

Source:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

Configure le système de protection des données pour protéger les clés avec la clé spécifiée dans Azure KeyVault.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithAzureKeyVault (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Uri keyIdentifier, Azure.Core.TokenCredential tokenCredential);
static member ProtectKeysWithAzureKeyVault : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri * Azure.Core.TokenCredential -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithAzureKeyVault (builder As IDataProtectionBuilder, keyIdentifier As Uri, tokenCredential As TokenCredential) As IDataProtectionBuilder

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
Uri

Identificateur de clé Azure Key Vault utilisé pour le chiffrement de clé.

tokenCredential
TokenCredential

Informations d’identification du jeton à utiliser pour l’authentification.

Retours

Valeur builder.

S’applique à