GetSecretById
Method
func (BitwardenSecretManagerResource) GetSecretById( name string, secretId string,) BitwardenSecretResourceSignature
method
GetSecretById builderGets 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 string,) BitwardenSecretResourceParameters
namestringThe Aspire resource name.secretId stringThe Bitwarden secret identifier.Returns
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: