Huanxuan Ao af7ab03693 Support bulk deletion for delete commands in computev2
Support bulk deletion and error handling for "keypair delete"
and "service delete" commands in computev2.
Up to now, all the delete commands in computev2 support bulk
deletion.

Change-Id: I6d5c960e9716188e56615514d0921618a15a88ec
Partially-Implements: blueprint multi-argument-compute
Partial-Bug: #1592906
2016-06-27 20:39:23 +00: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