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 |
---|---|---|---|
keySet
|
Keypair IDs to describe. | Yes (but may be empty) |
xsd: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[]
|
<DescribeKeyPairs xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <keySet> <item> <keyName>example-key-name</keyName> </item> </keySet> </DescribeKeyPairs>
<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>