Share via


BicepSecretOutputReference Class

Definition

Caution

BicepSecretOutputReference is no longer supported. Use IAzureKeyVaultResource instead.

A reference to a KeyVault secret from a bicep template.

public class BicepSecretOutputReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
[System.Obsolete("BicepSecretOutputReference is no longer supported. Use IAzureKeyVaultResource instead.")]
public sealed class BicepSecretOutputReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
type BicepSecretOutputReference = class
    interface IManifestExpressionProvider
    interface IValueProvider
    interface IValueWithReferences
[<System.Obsolete("BicepSecretOutputReference is no longer supported. Use IAzureKeyVaultResource instead.")>]
type BicepSecretOutputReference = class
    interface IManifestExpressionProvider
    interface IValueProvider
    interface IValueWithReferences
Public Class BicepSecretOutputReference
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences
Public NotInheritable Class BicepSecretOutputReference
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences
Inheritance
BicepSecretOutputReference
Attributes
Implements

Constructors

BicepSecretOutputReference(String, AzureBicepResource)

A reference to a KeyVault secret from a bicep template.

Properties

Name

Name of the KeyVault secret.

Resource

The instance of the bicep resource.

Value

The value of the output.

ValueExpression

The expression used in the manifest to reference the value of the secret output.

Methods

GetValueAsync(CancellationToken)

The value of the output.

Explicit Interface Implementations

IValueWithReferences.References

Extension Methods

AsProvisioningParameter(IManifestExpressionProvider, AzureResourceInfrastructure, String, Nullable<Boolean>)

Creates a new ProvisioningParameter in infrastructure, or reuses an existing bicep parameter if one with

AsEnvironmentPlaceholder(IManifestExpressionProvider, DockerComposeServiceResource)

Creates a placeholder for an environment variable in the Docker Compose file.

Applies to