public interface NovaEC2KeyPairClient extends KeyPairClient
Modifier and Type | Method and Description |
---|---|
KeyPair |
importKeyPairInRegion(String region,
String keyName,
String publicKeyMaterial)
Imports the public key from an RSA key pair that you created with a third-party tool.
|
createKeyPairInRegion, deleteKeyPairInRegion, describeKeyPairsInRegion
KeyPair importKeyPairInRegion(@Nullable String region, String keyName, String publicKeyMaterial)
You can easily create an RSA key pair on Windows and Linux using the ssh-keygen command line tool (provided with the standard OpenSSH installation). Standard library support for RSA key pair creation is also available in Java, Ruby, Python, and many other programming languages.
Supported lengths: 1024, 2048, and 4096.
region
- region to import the key intokeyName
- A unique name for the key pair. Accepts alphanumeric characters, spaces, dashes, and
underscores.publicKeyMaterial
- The public keyCopyright © 2009-2013 jclouds. All Rights Reserved.