python-openstackclient/doc/source/command-objects/keypair.rst

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