withBitwardenReferenceAccessToken

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
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
sourceBitwardenSecretManagerResourceThe Bitwarden resource whose connection name to target.
accessTokenParameterResourceThe access token parameter for this connection.
IResourceWithEnvironment

Applies to

This method applies to the following types: