AzureKeyVaultConfigurationExtensions.AddAzureKeyVault メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions) |
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。 |
AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager) |
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。 |
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential) |
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。 |
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions) |
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。 |
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager) |
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。 |
AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。
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
パラメーター
- configurationBuilder
- IConfigurationBuilder
追加先の IConfigurationBuilder。
- client
- SecretClient
値の取得に使用する SecretClient。
戻り値
適用対象
AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。
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
パラメーター
- configurationBuilder
- IConfigurationBuilder
追加先の IConfigurationBuilder。
- client
- SecretClient
値の取得に使用する SecretClient。
- manager
- KeyVaultSecretManager
シークレットの読み込みの制御に使用される KeyVaultSecretManager インスタンス。
戻り値
適用対象
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。
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
パラメーター
- configurationBuilder
- IConfigurationBuilder
追加先の IConfigurationBuilder。
- vaultUri
- Uri
Azure Key Vault URI。
- credential
- TokenCredential
認証に使用する資格情報。
戻り値
適用対象
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。
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
パラメーター
- configurationBuilder
- IConfigurationBuilder
追加先の IConfigurationBuilder。
- vaultUri
- Uri
Azure Key Vault URI。
- credential
- TokenCredential
認証に使用する資格情報。
戻り値
適用対象
AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)
Azure KeyVault から構成値を読み取る IConfigurationProvider を追加します。
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
パラメーター
- configurationBuilder
- IConfigurationBuilder
追加先の IConfigurationBuilder。
- vaultUri
- Uri
Azure Key Vault URI。
- credential
- TokenCredential
認証に使用する資格情報。
- manager
- KeyVaultSecretManager
シークレットの読み込みの制御に使用される KeyVaultSecretManager インスタンス。