The Amazon EC2 - List key pair(s) Task lists one or more of your key pairs.
Connection
To use Amazon EC2 Tasks you need to create a Connection first. Click the Settings icon to open the Manage Connections dialog.
Filter
Filter for key pairs. Example: {"Name": "instance-type", "Values": ["t2.micro", "m1.medium"]}