Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithBitwardenReferenceAccessToken

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (ResourceWithEnvironment) WithBitwardenReferenceAccessToken(
source BitwardenSecretManagerResource,
accessToken ParameterResource,
) ResourceWithEnvironment

Signature

methodWithBitwardenReferenceAccessTokenbuilder
Overrides the Bitwarden access token injected into the connection for source. By default the management token is used. Supply a least-privilege read-only token here.
WithBitwardenReferenceAccessToken(
source BitwardenSecretManagerResource,
accessToken ParameterResource,
) ResourceWithEnvironment
sourceBitwardenSecretManagerResourceThe Bitwarden resource whose connection name to target.
accessTokenParameterResourceThe access token parameter for this connection.
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