Passing in ssh keypair name and private key as parameters.