The Keypair class inherits from Resource.
openstack.compute.v2.keypair.Keypair(_synchronized=False, **attrs)¶The base resource
| Parameters: | _synchronized (bool) – This is not intended to be used directly.
See new()andexisting(). | 
|---|
fingerprint = None¶The short fingerprint associated with the public_key for
this keypair.
id = None¶The id identifying the keypair
name = None¶A name identifying the keypair
private_key = None¶The private key for the keypair
public_key = None¶The SSH public key that is paired with the server.
list(session, paginated=False)¶This method is a generator which yields resource objects.
This resource object list generator handles pagination and takes query params for response filtering.
| Parameters: | 
 | 
|---|---|
| Returns: | A generator of  | 
| Raises: | 
 | 
| Raises: | 
 | 
 
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.