putKeyPair(projectId, serviceType, METADATA_SSHKEY, sshKeyPair);
}
public SshKey getOrCreate(ProjectId projectId, ServiceType serviceType, String sshKeyName, String user)
throws OpsException {
KeyPair keyPair = findSshKey(projectId, serviceType);
if (keyPair == null) {
keyPair = RsaUtils.generateRsaKeyPair();
// sshKeyPair = cloud.generateSshKeyPair(sshKeyName);
storeSshKeyPair(projectId, serviceType, keyPair);
}