public interface AWSKeyPairApi
extends org.jclouds.ec2.features.KeyPairApi
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.ec2.domain.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.
|
@Named(value="ImportKeyPair")
org.jclouds.ec2.domain.KeyPair importKeyPairInRegion(@Nullable
String region,
String keyName,
String publicKeyMaterial)
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 © 2016. All rights reserved.