EC2.KeyPairInfo.delete(**kwargs)¶Deletes the specified key pair, by removing the public key from Amazon EC2.
See also: AWS API Documentation
Request Syntax
response = key_pair_info.delete(
KeyPairId='string',
DryRun=True|False
)
DryRunOperation . Otherwise, it is UnauthorizedOperation .None