Import Key Pair

GET {{aws_ec2_base_url}}/?DryRun&KeyName&PublicKeyMaterial&Action=ImportKeyPair

Imports the public key from an RSA key pair that you created with a third-party tool.

Request Params

KeyDatatypeRequiredDescription
DryRunnullChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
KeyNamenullA unique name for the key pair.
PublicKeyMaterialnullThe public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.
Actionstring