}
@POST
public WrappedKeypair createKeypair(WrappedKeypair request) throws CloudException, IOException {
PublicKey sshPublicKey;
RsaPrivateKey privateKey = null;
if (request.keypair.publicKey != null) {
sshPublicKey = OpenSshUtils.readSshPublicKey(request.keypair.publicKey);
} else {
KeyczarKey keypair = keypairs.generateKeypair();