AzureKeyVaultConfigurationExtensions.AddAzureKeyVault Método

Definição

Sobrecargas

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Azure.Security.KeyVault.Secrets.SecretClient client, Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Azure.Security.KeyVault.Secrets.SecretClient * Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, client As SecretClient, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

client
SecretClient

O SecretClient a ser usado para recuperar valores.

Retornos

O IConfigurationBuilder.

Aplica-se a

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Azure.Security.KeyVault.Secrets.SecretClient client, Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Azure.Security.KeyVault.Secrets.SecretClient * Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, client As SecretClient, manager As KeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

client
SecretClient

O SecretClient a ser usado para recuperar valores.

manager
KeyVaultSecretManager

A instância KeyVaultSecretManager usada para controlar o carregamento de segredo.

Retornos

O IConfigurationBuilder.

Aplica-se a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

vaultUri
Uri

O uri de Key Vault do Azure.

credential
TokenCredential

A credencial a ser usada para autenticação.

Retornos

O IConfigurationBuilder.

Aplica-se a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential * Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

vaultUri
Uri

URI de Key Vault do Azure.

credential
TokenCredential

A credencial a ser usada para autenticação.

Retornos

O IConfigurationBuilder.

Aplica-se a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential * Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential, manager As KeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

vaultUri
Uri

URI de Key Vault do Azure.

credential
TokenCredential

A credencial a ser usada para autenticação.

manager
KeyVaultSecretManager

A instância KeyVaultSecretManager usada para controlar o carregamento de segredo.

Retornos

O IConfigurationBuilder.

Aplica-se a