BitwardenSecretManagerResource.getSecretById
Method
interface BitwardenSecretManagerResource { // ... omitted for brevity getSecretById( name: string, secretId: guid): BitwardenSecretResource;}Signature
method
getSecretByIdbuilderGets or creates a Bitwarden secret reference by secret identifier. Use this when multiple secrets share the same name and the identifier is the only unambiguous key. The secret must already exist in Bitwarden; use `AddSecret` if Aspire should own and write the secret value.
getSecretById( name: string, secretId: guid): BitwardenSecretResourceParameters
namestringsecretIdguidReturns
BitwardenSecretResourceDefined on
This method is defined on the following type: