AzureKeyVaultSecretResource.IValueProvider.GetValueAsync 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.
Gets the secret value asynchronously.
System.Threading.Tasks.ValueTask<string?> IValueProvider.GetValueAsync(System.Threading.CancellationToken cancellationToken);
abstract member Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
override this.Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
Function GetValueAsync (cancellationToken As CancellationToken) As ValueTask(Of String) Implements IValueProvider.GetValueAsync
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The secret value.