public interface NovaEC2KeyPairApi
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="keypair:import") org.jclouds.ec2.domain.KeyPair importKeyPairInRegion(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 © 2009-2015 The Apache Software Foundation. All Rights Reserved.