AzureKeyVaultConfigurationExtensions.AddAzureKeyVault Método

Definição

Sobrecargas

AddAzureKeyVault(IConfigurationBuilder, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, KeyVaultClient, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, String, String)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, String, String, String, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

AddAzureKeyVault(IConfigurationBuilder, AzureKeyVaultConfigurationOptions)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, Microsoft::Extensions::Configuration::AzureKeyVault::AzureKeyVaultConfigurationOptions ^ options);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.AzureKeyVault.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Microsoft.Extensions.Configuration.AzureKeyVault.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

URI do Azure KeyVault.Azure KeyVault uri.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

URI do Azure KeyVault.Azure KeyVault uri.

manager
IKeyVaultSecretManager

A instância IKeyVaultSecretManager usada para controlar o carregamento de segredo.The IKeyVaultSecretManager instance used to control secret loading.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, KeyVaultClient, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, Microsoft::Azure::KeyVault::KeyVaultClient ^ client, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, Microsoft.Azure.KeyVault.KeyVaultClient client, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * Microsoft.Azure.KeyVault.KeyVaultClient * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, client As KeyVaultClient, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

URI do Azure KeyVault.Azure KeyVault uri.

client
KeyVaultClient

O KeyVaultClient a ser usado para recuperar valores.The KeyVaultClient to use for retrieving values.

manager
IKeyVaultSecretManager

A instância IKeyVaultSecretManager usada para controlar o carregamento de segredo.The IKeyVaultSecretManager instance used to control secret loading.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, certificate As X509Certificate2) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

URI do Azure KeyVault.Azure KeyVault uri.

clientId
String

A ID do cliente do aplicativo.The application client id.

certificate
X509Certificate2

O X509Certificate2 a ser usado para autenticação.The X509Certificate2 to use for authentication.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, String, String)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::String ^ clientSecret);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, string clientSecret);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * string -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, clientSecret As String) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

O URI do Azure KeyVault.The Azure KeyVault uri.

clientId
String

A ID do cliente do aplicativo.The application client id.

clientSecret
String

O segredo do cliente a ser usado para autenticação.The client secret to use for authentication.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, certificate As X509Certificate2, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

URI do Azure KeyVault.Azure KeyVault uri.

clientId
String

A ID do cliente do aplicativo.The application client id.

certificate
X509Certificate2

O X509Certificate2 a ser usado para autenticação.The X509Certificate2 to use for authentication.

manager
IKeyVaultSecretManager

A instância IKeyVaultSecretManager usada para controlar o carregamento de segredo.The IKeyVaultSecretManager instance used to control secret loading.

Retornos

AddAzureKeyVault(IConfigurationBuilder, String, String, String, IKeyVaultSecretManager)

Adiciona um IConfigurationProvider que lê os valores de configuração do Azure KeyVault.Adds an IConfigurationProvider that reads configuration values from the Azure KeyVault.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::String ^ clientSecret, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, string clientSecret, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * string * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, clientSecret As String, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.The IConfigurationBuilder to add to.

vault
String

O URI do Azure KeyVault.The Azure KeyVault uri.

clientId
String

A ID do cliente do aplicativo.The application client id.

clientSecret
String

O segredo do cliente a ser usado para autenticação.The client secret to use for authentication.

manager
IKeyVaultSecretManager

A instância IKeyVaultSecretManager usada para controlar o carregamento de segredo.The IKeyVaultSecretManager instance used to control secret loading.

Retornos

Aplica-se a