https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeKeyPairs.html
DescribeKeyPairs - Amazon Elastic Compute Cloud
Describes the specified key pairs or all of your key pairs.
elastic computeamazoncloud
https://docs.aws.amazon.com/code-library/latest/ug/ec2_example_ec2_DescribeKeyPairs_section.html
Use DescribeKeyPairs with an AWS SDK or CLI - AWS SDK Code Examples
Use DescribeKeyPairs with an AWS SDK or CLI
with anuseawssdkcli