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
Key | Datatype | Required | Description |
---|---|---|---|
DryRun | null | Checks 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. | |
KeyName | null | A unique name for the key pair. | |
PublicKeyMaterial | null | The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you. | |
Action | string |