Share via


AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault Méthode

Définition

Surcharges

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

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, String, X509Certificate2)

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, String, String)

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, KeyVaultClient, String)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.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:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithAzureKeyVault(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::KeyVault::KeyVaultClient ^ client, System::String ^ keyIdentifier);
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

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

client
KeyVaultClient

KeyVaultClient à utiliser pour l’accès KeyVault.

keyIdentifier
String

Identificateur de clé Azure KeyVault utilisé pour le chiffrement de clé.

Retours

Valeur builder.

S’applique à

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.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:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithAzureKeyVault(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, System::String ^ keyIdentifier, System::String ^ clientId, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
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

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
String

Identificateur de clé Azure KeyVault utilisé pour le chiffrement de clé.

clientId
String

ID du client d’application.

certificate
X509Certificate2

Retours

Valeur builder.

S’applique à

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.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:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithAzureKeyVault(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, System::String ^ keyIdentifier, System::String ^ clientId, System::String ^ clientSecret);
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

Paramètres

builder
IDataProtectionBuilder

Le générateur instance à modifier.

keyIdentifier
String

Identificateur de clé Azure KeyVault utilisé pour le chiffrement de clé.

clientId
String

ID du client d’application.

clientSecret
String

Secret client à utiliser pour l’authentification.

Retours

Valeur builder.

S’applique à