Sdílet prostřednictvím


AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault Metoda

Definice

Přetížení

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v 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

Parametry

builder
IDataProtectionBuilder

Instance tvůrce, která se má upravit.

client
KeyVaultClient

Slouží KeyVaultClient k použití pro přístup ke službě KeyVault.

keyIdentifier
String

Identifikátor klíče Azure KeyVault použitý k šifrování klíče.

Návraty

Hodnota builder.

Platí pro

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v 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

Parametry

builder
IDataProtectionBuilder

Instance tvůrce, která se má upravit.

keyIdentifier
String

Identifikátor klíče Azure KeyVault použitý k šifrování klíče.

clientId
String

ID klienta aplikace.

certificate
X509Certificate2

Návraty

Hodnota builder.

Platí pro

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs
Zdroj:
AzureDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem v 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

Parametry

builder
IDataProtectionBuilder

Instance tvůrce, která se má upravit.

keyIdentifier
String

Identifikátor klíče Azure KeyVault použitý k šifrování klíče.

clientId
String

ID klienta aplikace.

clientSecret
String

Tajný klíč klienta, který se má použít pro ověřování.

Návraty

Hodnota builder.

Platí pro