Skip to content
DocsTry Aspire
DocsTry

BitwardenSecretManagerResource.getSecretWithRemoteName

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
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
namestring
remoteNamestring
BitwardenSecretResource

Defined on

This method is defined on the following type: