Keypair interface (1.1 extension).
-
class novaclient.v1_1.keypairs.Keypair(manager, info, loaded=False)
Bases: novaclient.base.Resource
A keypair is a ssh key that can be injected into a server on launch.
-
delete()
-
id
-
class novaclient.v1_1.keypairs.KeypairManager(api)
Bases: novaclient.base.ManagerWithFind
-
create(name, public_key=None)
Create a keypair
Parameters: |
- name – name for the keypair to create
- public_key – existing public key to import
|
-
delete(key)
Delete a keypair
Parameters: | key – The Keypair (or its ID) to delete. |
-
list()
Get a list of keypairs.
-
resource_class
alias of Keypair