Skip to content
DocsTry Aspire
DocsTry

BitwardenSecretResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
interface BitwardenSecretResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithParent,
BitwardenSecretManagerResource]],
IValueProvider,
IValueWithReferences {
asSecretId(): IExpressionValue;
}

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(): IExpressionValue
IExpressionValue