File: //lib/python3/dist-packages/awscli/examples/cognito-idp/describe-identity-provider.rst
**To describe an identity provider**
This example describes an identity provider named Facebook.
Command::
aws cognito-idp describe-identity-provider --user-pool-id us-west-2_aaaaaaaaa --provider-name Facebook
Output::
{
"IdentityProvider": {
"UserPoolId": "us-west-2_aaaaaaaaa",
"ProviderName": "Facebook",
"ProviderType": "Facebook",
"ProviderDetails": {
"attributes_url": "https://graph.facebook.com/me?fields=",
"attributes_url_add_attributes": "true",
"authorize_scopes": myscope",
"authorize_url": "https://www.facebook.com/v2.9/dialog/oauth",
"client_id": "11111",
"client_secret": "11111",
"token_request_method": "GET",
"token_url": "https://graph.facebook.com/v2.9/oauth/access_token"
},
"AttributeMapping": {
"username": "id"
},
"IdpIdentifiers": [],
"LastModifiedDate": 1548105901.736,
"CreationDate": 1548105901.736
}
}