Compartilhar via


AzureDataProtectionBuilderExtensions.ProtectKeysWithAzureKeyVault Método

Definição

Sobrecargas

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no Azure KeyVault.

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)

Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no 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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

client
KeyVaultClient

O KeyVaultClient a ser usado para acesso ao KeyVault.

keyIdentifier
String

O identificador de chave do Azure KeyVault usado para criptografia de chave.

Retornos

O valor builder.

Aplica-se a

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)

Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no 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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
String

O identificador de chave do Azure KeyVault usado para criptografia de chave.

clientId
String

A ID do cliente do aplicativo.

certificate
X509Certificate2

Retornos

O valor builder.

Aplica-se a

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)

Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs
Origem:
AzureDataProtectionBuilderExtensions.cs

Configura o sistema de proteção de dados para proteger chaves com a chave especificada no 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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
String

O identificador de chave do Azure KeyVault usado para criptografia de chave.

clientId
String

A ID do cliente do aplicativo.

clientSecret
String

O segredo do cliente a ser usado para autenticação.

Retornos

O valor builder.

Aplica-se a