Create a new ssh key credential object reading the keys from memory.
username to use to authenticate.
The public key of the credential.
The private key of the credential.
The passphrase of the credential.
0 for success or an error code for failure