Skip to content
DocsTry Aspire
DocsTry

withBitwardenReferenceAuthCacheVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
interface ContainerResource {
// ... omitted for brevity
withBitwardenReferenceAuthCacheVolume(
source: BitwardenSecretManagerResource,
volumeName?: string,
containerDirectory?: string): IResourceWithEnvironment;
}

Signature

methodwithBitwardenReferenceAuthCacheVolumebuilder
Mounts a named volume and configures the Bitwarden SDK to store its auth cache there, for the connection associated with `source`. Use this for container resources. For process resources or when the container path is already known, use `WithBitwardenAuthCacheDirectory``1` instead.
withBitwardenReferenceAuthCacheVolume(
source: BitwardenSecretManagerResource,
volumeName?: string,
containerDirectory?: string): IResourceWithEnvironment
sourceBitwardenSecretManagerResource
volumeNamestringoptional
containerDirectorystringoptional= /var/lib/bitwarden
IResourceWithEnvironment

Applies to

This method applies to the following types: