Keypair interface
novaclient.v2.keypairs.Keypair(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
A keypair is a ssh key that can be injected into a server on launch.
Populate and bind to a manager.
| Parameters: |
|
|---|
delete()¶Delete this keypair.
| Returns: | An instance of novaclient.base.TupleWithMeta |
|---|
id¶novaclient.v2.keypairs.KeypairManager(api)¶Bases: novaclient.base.ManagerWithFind
create(name, public_key=None, key_type='ssh', user_id=None)¶Create a keypair
| Parameters: |
|
|---|
delete(key, user_id=None)¶Delete a keypair
| Parameters: |
|
|---|---|
| Returns: | An instance of novaclient.base.TupleWithMeta |
get(keypair, user_id=None)¶Get a keypair.
| Parameters: |
|
|---|---|
| Return type: |
is_alphanum_id_allowed = True¶keypair_prefix = 'os-keypairs'¶list(user_id=None, marker=None, limit=None)¶Get a list of keypairs.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.