Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithBitwardenSecretManagerReference

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (ResourceWithEnvironment) WithBitwardenSecretManagerReference(
source BitwardenSecretManagerResource,
options ...*WithBitwardenSecretManagerReferenceOptions,
) ResourceWithEnvironment

Signature

methodWithBitwardenSecretManagerReferencebuilder
Injects structured Bitwarden client configuration into the destination resource.
WithBitwardenSecretManagerReference(
source BitwardenSecretManagerResource,
options ...*WithBitwardenSecretManagerReferenceOptions,
) ResourceWithEnvironment
sourceBitwardenSecretManagerResourceThe Bitwarden resource builder.
options...*WithBitwardenSecretManagerReferenceOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithBitwardenSecretManagerReferenceOptions argument.

ConnectionName*stringThe logical connection name. Defaults to the Bitwarden resource name.
ResourceWithEnvironment

The destination resource builder.

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

Applies to

This method applies to the following types:

typeCSharpAppResource
typeContainerResource
typeDotnetToolResource
typeExecutableResource
typeProjectResource