DescribeKeyPairs
The DescribeKeyPairs
operation returns
information about keypairs available for use by the user making
the request. Selected keypairs may be specified or the list
may be left empty if information for all registered keypairs is
required.
The following table describes the request parameters for
DescribeKeyPairs
. Parameter names are case
sensitive.
Element Name | Definition | Required? | Type |
---|---|---|---|
KeyName. n
|
Keypair IDs to describe. | No |
string
|
The following table describes the default response tags included
in DescribeKeyPairs
responses.
Element Name | Definition | Type |
---|---|---|
keySet
|
A list of keypair descriptions |
ec2:DescribeKeypairsResponseItemType[]
|
https://ec2.amazonaws.com/ ?Action=DescribeKeyPairs &KeyName.1=example-key-name &...auth parameters...
<DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <keySet> <item> <keyName>example-key-name</keyName> <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint> </item> </keySet> </DescribeKeyPairsResponse>