Design Secure Architectures

A mobile application authenticates customers through a social identity provider. Which service should exchange those identities for temporary AWS credentials so customers can access authorized S3 objects directly?

Show the answer

Correct answerB. An Amazon Cognito identity pool

AWhy not this: A user pool issues authentication tokens rather than the AWS credentials needed to sign direct S3 requests.

BWhy this is right: An identity pool federates identities and obtains temporary AWS credentials through IAM roles.

CWhy not this: IAM Identity Center manages workforce access rather than customer federation for mobile applications.

DWhy not this: Per-customer IAM users introduce long-term credentials and do not provide the requested token exchange.

A Cognito identity pool exchanges supported identity-provider tokens for temporary AWS credentials associated with IAM roles. A user pool authenticates users and issues tokens, but does not itself issue AWS credentials.