There are two ways to manage OpenStack cloud: using EC2 API(Amazon compatible) and nova API (native). Using native API is preferred way. OpenStack has python-novaclient project for that aim. It is command line interface for managing OpenStack. Unfortunatly it doesn’t support working with ssh-keys and we need to use euca2ools for that.
Starting from now this issue is over. Now you can perform following commands:
nova keypair-add [--pub_key <pub_key>] – creates public (if the pass to it is not passed) and private keys, saves public key into database and prints the private key into console.
nova keypair-delete – deletes keypair if it exists.
nova keypair-list – shows user’s keypairs like the eucatools do.
You can see sources on
or binaries for RHEL
and for CentOS