Skip to content
DocsTry Aspire
DocsTry

BicepSecretOutputReference Methods

ClassMethods1 member
A reference to a KeyVault secret from a bicep template.
GetValueAsync(CancellationToken)Section titled GetValueAsync(CancellationToken)ValueTask<string?>
The value of the output.
public sealed class BicepSecretOutputReference
{
public ValueTask<string?> GetValueAsync(
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
cancellationTokenCancellationTokenoptional A Threading.CancellationToken to observe while waiting for the task to complete.