I have created a azure release pipeline. In order for that to work I have made app registration and created certificate. The method I am using to connect right now is as following:
Connect-PnPOnline -Url $sharepointside -ClientId $id -Tenant $Tenant -CertificateBase64Encoded $encoded -CertificatePassword $password
I went this method because this way I don't have to upload the certificate to my azure devops. But I have some concern about storing the certificate password in the variable. Is there way I can connect to sharepoint from azure pipeline without using password variable? Or any idea on other options I can use?