AsSecretId

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (BitwardenSecretResource) 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().

Applies to

This method applies to the following types: