Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithBitwardenReferenceAuthCacheDirectoryFromParameter

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (ResourceWithEnvironment) WithBitwardenReferenceAuthCacheDirectoryFromParameter(
source BitwardenSecretManagerResource,
authCacheDirectory ParameterResource,
) ResourceWithEnvironment

Signature

methodWithBitwardenReferenceAuthCacheDirectoryFromParameterbuilder
Configures the directory where the Bitwarden SDK stores its auth cache inside the resource, using a parameter, for the connection associated with source.
WithBitwardenReferenceAuthCacheDirectoryFromParameter(
source BitwardenSecretManagerResource,
authCacheDirectory ParameterResource,
) ResourceWithEnvironment
sourceBitwardenSecretManagerResourceThe Bitwarden resource whose connection name to target.
authCacheDirectoryParameterResourceA parameter whose value is the directory path inside the app.
ResourceWithEnvironment

The destination resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeCSharpAppResource
typeContainerResource
typeDotnetToolResource
typeExecutableResource
typeProjectResource