AzureAppConfigurationKeyVaultOptions.SetSecretResolver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the callback used to resolve key vault references that have no registered SecretClient.
public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions SetSecretResolver (Func<Uri,System.Threading.Tasks.ValueTask<string>> secretResolver);
member this.SetSecretResolver : Func<Uri, System.Threading.Tasks.ValueTask<string>> -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions
Public Function SetSecretResolver (secretResolver As Func(Of Uri, ValueTask(Of String))) As AzureAppConfigurationKeyVaultOptions
Parameters
A callback that maps the Uri of the key vault secret to its value.
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET