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

1.0 KiB

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(s)

keypair delete

os keypair delete
    <key> [<key> ...]

<key>

Public key(s) 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