WithBitwardenReferenceAuthCacheVolume
Method
func (ResourceWithEnvironment) WithBitwardenReferenceAuthCacheVolume( source BitwardenSecretManagerResource, options ...*WithBitwardenReferenceAuthCacheVolumeOptions,) ResourceWithEnvironmentSignature
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 instead.WithBitwardenReferenceAuthCacheVolume( source BitwardenSecretManagerResource, options ...*WithBitwardenReferenceAuthCacheVolumeOptions,) ResourceWithEnvironmentParameters
sourceBitwardenSecretManagerResource The Bitwarden resource whose connection name to target.options...*WithBitwardenReferenceAuthCacheVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithBitwardenReferenceAuthCacheVolumeOptions argument.
VolumeName *stringThe Docker volume name. Defaults to {resourceName}-{connectionName}-bitwarden-auth when null.ContainerDirectory *stringThe directory inside the container where the volume is mounted. Defaults to /var/lib/bitwarden .Returns
ResourceWithEnvironment The destination resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
CSharpAppResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ProjectResource