SSHClientCert Parameter (Connect-SFTP Cmdlet)
A certificate to be used for authenticating the user.
Connect-SFTP -SSHClientCert string
In order to use public key authentication, SSHClientCert must contain a certificate with a valid private key. The certificate's public key value is sent to the server along with a signature produced using the private key. The server will first check to see if the public key values match what is known for the user and then will attempt to use those values to verify the signature.