Returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
| Name | Description | Required |
|---|---|---|
|
|
Key pair to describe. Type: String Default: Describes all key pairs available to the account. |
No |
| Name | Description |
|---|---|
|
|
Type: DescribeKeyPairsResponseType Ancestor: None Children: |
|
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
|
Information for a key pair. Type: DescribeKeyPairsResponseInfoType Ancestor: Children: |
|
|
Information for a key pair. Type: DescribeKeyPairsResponseItemType Ancestor: Children: |
|
|
The key pair name provided in the original request. Type: xsd:string Ancestor: Children: None |
|
|
A SHA-1 digest of the DER encoded private key. Type: xsd:string Ancestor: Children: None |
This example describes the state of the gsg-keypair key.
https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
<DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2009-11-30/">
<keySet>
<item>
<keyName>gsg-keypair</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>