Huanxuan Ao 43a07e133d Add missing '(name only)' message for keypair in computev2
In 'keypair show' command. One help message had '(name only)'
but the doc had not. And another had not '(name only)' but the
doc had. This patch Fixs them and keeps the consistent between
doc and help message.

Change-Id: Ic88219ae25a6f545a1db39e6b585e1857ae9e2e0
2016-07-04 14:45:40 +08:00

74 lines
1.0 KiB
ReStructuredText

=======
keypair
=======
The badly named keypair is really the public key of an OpenSSH key pair to be
used for access to created servers.
Compute v2
keypair create
--------------
Create new public key
.. program:: keypair create
.. code:: bash
os keypair create
[--public-key <file>]
<name>
.. option:: --public-key <file>
Filename for public key to add
.. describe:: <name>
New public key name
keypair delete
--------------
Delete public key(s)
.. program:: keypair delete
.. code:: bash
os keypair delete
<key> [<key> ...]
.. describe:: <key>
Public key(s) to delete (name only)
keypair list
------------
List public key fingerprints
.. program:: keypair list
.. code:: bash
os keypair list
keypair show
------------
Display public key details
.. program:: keypair show
.. code:: bash
os keypair show
[--public-key]
<key>
.. option:: --public-key
Show only bare public key (name only)
.. describe:: <key>
Public key to display (name only)