BitwardenSecretResource.AsSecretId

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
type BitwardenSecretResource interface {
// ... omitted for brevity
AsSecretId() ExpressionValue
}

Signature

methodAsSecretId
Returns an IExpressionValue that resolves to the Bitwarden secret identifier. Pass it to WithEnvironment to inject the secret ID as an environment variable. The app then uses the Bitwarden SDK to fetch the secret value at runtime.
AsSecretId() ExpressionValue
ExpressionValue

An expression value that resolves to the Bitwarden secret identifier.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: