public class NovaKeypair extends Object implements Keypair
| Modifier and Type | Class and Description |
|---|---|
static class |
NovaKeypair.Keypairs |
| Constructor and Description |
|---|
NovaKeypair() |
| Modifier and Type | Method and Description |
|---|---|
static NovaKeypair |
create(String name,
String publicKey)
Used internally by the domain side of the API to create a new Keypair on an OpenStack server
|
String |
getFingerprint() |
String |
getName()
The name associated with the keypair
|
String |
getPrivateKey()
The private key associated with this keypair.
|
String |
getPublicKey()
The public SSH key
|
String |
toString() |
public static NovaKeypair create(String name, String publicKey)
name - the name of the keypairpublicKey - the public key or null to have OS generated onepublic String getName()
public String getPublicKey()
getPublicKey in interface Keypairpublic String getPrivateKey()
getPrivateKey in interface Keypairpublic String getFingerprint()
getFingerprint in interface Keypair