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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET