Security, Compliance, and Governance

A mobile application authenticates customers through an Amazon Cognito user pool and must let them upload directly to Amazon S3 using temporary AWS credentials. Which additional component should the architect configure?

Show the answer

Correct answerD. A Cognito identity pool with an authenticated IAM role

AWhy not this: An API Gateway authorizer validates API requests but does not issue credentials for direct S3 uploads.

BWhy not this: IAM Identity Center permission sets provide workforce account access, not this customer token exchange.

CWhy not this: Custom OAuth scopes express application API permissions; they do not provide AWS credentials for S3 requests.

DWhy this is right: An identity pool can accept user pool tokens and obtain temporary AWS credentials for an authenticated IAM role.

A Cognito identity pool exchanges supported identity tokens for temporary AWS credentials associated with IAM roles. A user pool resource server defines OAuth scopes but does not issue AWS credentials for direct S3 access.