|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AWSKeyPairClient
Method Summary | |
---|---|
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. |
Methods inherited from interface org.jclouds.ec2.services.KeyPairClient |
---|
createKeyPairInRegion, deleteKeyPairInRegion, describeKeyPairsInRegion |
Method Detail |
---|
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 key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |