BitwardenSecretResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1

Represents a Bitwarden secret resource.

type BitwardenSecretResource interface {
ExpressionValue
Resource
ResourceWithParent
}

Methods

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().