AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String) |
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě Azure KeyVault. |
| ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2) |
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě Azure KeyVault. |
| ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String) |
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě Azure KeyVault. |
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě 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
pro KeyVaultClient přístup ke trezoru klíčů.
- keyIdentifier
- String
Identifikátor klíče služby Azure KeyVault, který se používá k šifrování klíčů.
Návraty
Hodnota builder .
Platí pro
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě 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 služby Azure KeyVault, který se používá k šifrování klíčů.
- clientId
- String
ID klienta aplikace.
- certificate
- X509Certificate2
Návraty
Hodnota builder .
Platí pro
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)
Nakonfiguruje systém ochrany dat tak, aby chránil klíče se zadaným klíčem ve službě 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 služby Azure KeyVault, který se používá k šifrování klíčů.
- clientId
- String
ID klienta aplikace.
- clientSecret
- String
Tajný klíč klienta, který se má použít k ověřování.
Návraty
Hodnota builder .