'Describes a keypair by name.
@note: This is a non-standard extension API, and only works for EC2.
:param      name: The name of the keypair to describe.
:type       name: ``str``
:rtype: ``dict``'

def ex_describe_keypair(self, name):

    params = {'Action': 'DescribeKeyPairs', 'KeyName.1': name}
    response = self.connection.request(self.path, params=params).object
    key_name = findattr(element=response, xpath='keySet/item/keyName', namespace=NAMESPACE)
    fingerprint = findattr(element=response, xpath='keySet/item/keyFingerprint', namespace=NAMESPACE).strip()
    return {'keyName': key_name, 'keyFingerprint': fingerprint}
