Compartilhar via


AzureDataProtectionKeyVaultKeyBuilderExtensions.ProtectKeysWithAzureKeyVault Método

Definição

Sobrecargas

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, IKeyEncryptionKeyResolver)

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

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

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

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

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

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, Uri, TokenCredential)

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

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, IKeyEncryptionKeyResolver)

Origem:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
String

O identificador de chave Key Vault do Azure usado para criptografia de chave.

keyResolver
IKeyEncryptionKeyResolver

O IKeyEncryptionKeyResolver a ser usado para acesso Key Vault.

Retornos

O valor builder.

Aplica-se a

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

Origem:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
String

O identificador de chave Key Vault do Azure usado para criptografia de chave.

keyResolverFactory
Func<IServiceProvider,IKeyEncryptionKeyResolver>

O delegado de fábrica para criar o IKeyEncryptionKeyResolver a ser usado para acesso Key Vault.

Retornos

O valor builder.

Aplica-se a

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

Origem:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
String

O identificador de chave Key Vault do Azure usado para criptografia de chave.

tokenCredentialFactory
Func<IServiceProvider,TokenCredential>

O delegado de fábrica para criar o TokenCredential a ser usado para autenticar Key Vault acesso.

Retornos

O valor builder.

Aplica-se a

ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, Uri, TokenCredential)

Origem:
AzureDataProtectionKeyVaultKeyBuilderExtensions.cs

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

Parâmetros

builder
IDataProtectionBuilder

A instância do construtor a ser modificada.

keyIdentifier
Uri

O identificador de chave Key Vault do Azure usado para criptografia de chave.

tokenCredential
TokenCredential

A credencial de token a ser usada para autenticação.

Retornos

O valor builder.

Aplica-se a