Delete Key Pair
| ec2_delete_key_pair | R Documentation |
Deletes the specified key pair, by removing the public key from Amazon EC2¶
Description¶
Deletes the specified key pair, by removing the public key from Amazon EC2.
Usage¶
Arguments¶
KeyNameThe name of the key pair.
KeyPairIdThe ID of the key pair.
DryRunChecks 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 isUnauthorizedOperation.
Value¶
A list with the following syntax: