Compartir a través de


AzureKeyVaultConfigurationExtensions.AddAzureKeyVault Método

Definición

Sobrecargas

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de 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

El objeto IConfigurationBuilder al que se va a agregar.

client
SecretClient

El objeto SecretClient que se va a usar para recuperar valores.

Devoluciones

IConfigurationBuilder.

Se aplica a

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de 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

El objeto IConfigurationBuilder al que se va a agregar.

client
SecretClient

El objeto SecretClient que se va a usar para recuperar valores.

manager
KeyVaultSecretManager

La instancia de KeyVaultSecretManager que se usa para controlar la carga de secretos.

Devoluciones

IConfigurationBuilder.

Se aplica a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de 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

El objeto IConfigurationBuilder al que se va a agregar.

vaultUri
Uri

El URI de Azure Key Vault.

credential
TokenCredential

Credencial que se va a usar para la autenticación.

Devoluciones

IConfigurationBuilder.

Se aplica a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de 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

El objeto IConfigurationBuilder al que se va a agregar.

vaultUri
Uri

URI de Azure Key Vault.

credential
TokenCredential

Credencial que se va a usar para la autenticación.

Devoluciones

IConfigurationBuilder.

Se aplica a

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Agrega una instancia de IConfigurationProvider que lee los valores de configuración de 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

El objeto IConfigurationBuilder al que se va a agregar.

vaultUri
Uri

URI de Azure Key Vault.

credential
TokenCredential

Credencial que se va a usar para la autenticación.

manager
KeyVaultSecretManager

La instancia de KeyVaultSecretManager que se usa para controlar la carga de secretos.

Devoluciones

IConfigurationBuilder.

Se aplica a