python-openstackclient/doc/source/command-objects/keypair.rst
sunyajing 5b317936cb fix keypair help msg
keypair delete and keypair show commands cannot work on keypair ID

Change-Id: I958fcd2ed184706b28d63cc9c73a8b566e86a16c
Closes-Bug:#1588701
2016-06-06 06:50:13 +00:00

1015 B

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

keypair create

os keypair create
    [--public-key <file>]
    <name>

--public-key <file>

Filename for public key to add

<name>

New public key name

keypair delete

Delete public key

keypair delete

os keypair delete
    <key>

<key>

Public key to delete (name only)

keypair list

List public key fingerprints

keypair list

os keypair list

keypair show

Display public key details

keypair show

os keypair show
    [--public-key]
    <key>

--public-key

Show only bare public key (name only)

<key>

Public key to display