withBitwardenReferenceAuthCacheVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
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
sourceBitwardenSecretManagerResourceThe Bitwarden resource whose connection name to target.
volumeNamestringoptionalThe Docker volume name. Defaults to `{resourceName}-{connectionName}-bitwarden-auth` when `null`.
containerDirectorystringoptional= /var/lib/bitwardenThe directory inside the container where the volume is mounted. Defaults to `/var/lib/bitwarden`.
IResourceWithEnvironment

Applies to

This method applies to the following types: