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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET