2014-11-17 17:52:37 -06:00
|
|
|
=======
|
|
|
|
keypair
|
|
|
|
=======
|
|
|
|
|
|
|
|
The badly named keypair is really the public key of an OpenSSH key pair to be
|
2016-10-24 10:55:10 +02:00
|
|
|
used for access to created servers. You can also create a private key for
|
|
|
|
access to a created server by not passing any argument to the keypair create
|
|
|
|
command.
|
2014-11-17 17:52:37 -06:00
|
|
|
|
2015-01-09 19:12:18 -05:00
|
|
|
Compute v2
|
|
|
|
|
2014-11-17 17:52:37 -06:00
|
|
|
keypair create
|
|
|
|
--------------
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Create new public or private key for server ssh access
|
2014-11-17 17:52:37 -06:00
|
|
|
|
2015-07-21 14:07:18 -06:00
|
|
|
.. program:: keypair create
|
2014-11-17 17:52:37 -06:00
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack keypair create
|
2014-11-17 17:52:37 -06:00
|
|
|
[--public-key <file>]
|
|
|
|
<name>
|
|
|
|
|
|
|
|
.. option:: --public-key <file>
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Filename for public key to add. If not used, creates a private key.
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
.. describe:: <name>
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
New public or private key name
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
keypair delete
|
|
|
|
--------------
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Delete public or private key(s)
|
2014-11-17 17:52:37 -06:00
|
|
|
|
2015-07-21 14:07:18 -06:00
|
|
|
.. program:: keypair delete
|
2014-11-17 17:52:37 -06:00
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack keypair delete
|
2016-06-27 11:04:05 +08:00
|
|
|
<key> [<key> ...]
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
.. describe:: <key>
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Name of key(s) to delete (name only)
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
keypair list
|
|
|
|
------------
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
List key fingerprints
|
2014-11-17 17:52:37 -06:00
|
|
|
|
2015-07-21 14:07:18 -06:00
|
|
|
.. program:: keypair list
|
2014-11-17 17:52:37 -06:00
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack keypair list
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
keypair show
|
|
|
|
------------
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Display key details
|
2014-11-17 17:52:37 -06:00
|
|
|
|
2015-07-21 14:07:18 -06:00
|
|
|
.. program:: keypair show
|
2014-11-17 17:52:37 -06:00
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack keypair show
|
2014-11-17 17:52:37 -06:00
|
|
|
[--public-key]
|
|
|
|
<key>
|
|
|
|
|
|
|
|
.. option:: --public-key
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Show only bare public key paired with the generated key
|
2014-11-17 17:52:37 -06:00
|
|
|
|
|
|
|
.. describe:: <key>
|
|
|
|
|
2016-10-24 10:55:10 +02:00
|
|
|
Public or private key to display (name only)
|