withBitwardenReferenceAuthCacheVolume
Method
interface ContainerResource { // ... omitted for brevity withBitwardenReferenceAuthCacheVolume( source: BitwardenSecretManagerResource, volumeName?: string, containerDirectory?: string): IResourceWithEnvironment;}Signature
method
withBitwardenReferenceAuthCacheVolume builderMounts 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): IResourceWithEnvironmentParameters
sourceBitwardenSecretManagerResource The Bitwarden resource whose connection name to target.volumeName stringoptionalThe Docker volume name. Defaults to `{resourceName}-{connectionName}-bitwarden-auth` when `null`.containerDirectory stringoptional= /var/lib/bitwardenThe directory inside the container where the volume is mounted. Defaults to `/var/lib/bitwarden`.Returns
IResourceWithEnvironment Applies to
This method applies to the following types: