Skip to content
DocsTry Aspire
DocsTry

withBitwardenReferenceAccessToken

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
interface ContainerResource {
// ... omitted for brevity
withBitwardenReferenceAccessToken(
source: BitwardenSecretManagerResource,
accessToken: ParameterResource): IResourceWithEnvironment;
}

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): IResourceWithEnvironment
sourceBitwardenSecretManagerResource
accessTokenParameterResource
IResourceWithEnvironment

Applies to

This method applies to the following types: