GetSecretWithRemoteName

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (BitwardenSecretManagerResource) GetSecretWithRemoteName(
name string,
remoteName string,
) BitwardenSecretResource

Signature

methodGetSecretWithRemoteNamebuilder
Gets or creates a Bitwarden secret reference with distinct Aspire and remote names. The secret must already exist in Bitwarden; use AddSecret if Aspire should own and write the secret value.
GetSecretWithRemoteName(
name string,
remoteName string,
) BitwardenSecretResource
namestringThe Aspire resource name.
remoteNamestringThe Bitwarden secret name.
BitwardenSecretResource

A resource builder for the secret reference.

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

Applies to

This method applies to the following types: