Skip to main content
Kinetic Community

AWS EC2 Delete Key Pair

Deletes the specified key pair, by removing the public key from Amazon EC2.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

aws_ec2_delete_key_pair_v1.zip

Detailed Description

Deletes the specified key pair, by removing the public key from Amazon EC2.

The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.

Parameters

Name Description
Dry Run Dry run validates user permissions and inputs without completing the EC2 action (true or false).
Key Name The name of the key pair to be deleted.

Sample Configuration

Parameter Example Configuration
Dry Run false
Key Name sample-key

Results

This handler returns no results

Change Log

Version Date Description
1 2017-08-22 * Initial version. See README for details.