BitwardenSecretManagerResource.getSecretWithRemoteName

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
interface BitwardenSecretManagerResource {
// ... omitted for brevity
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

Defined on

This method is defined on the following type: