Security
A mobile application authenticates users with an existing external OpenID Connect provider. Which service should exchange their identity tokens for temporary AWS credentials so the application can access Amazon S3 directly?
Show the answer
Correct answerB. An Amazon Cognito identity pool
AWhy not this: An IAM access key is a credential, not a service that exchanges external identity tokens.
BWhy this is right: An identity pool accepts supported external identity tokens and obtains temporary AWS credentials for users.
CWhy not this: A user pool provides application authentication and tokens, not the requested exchange for AWS credentials.
DWhy not this: A presigned URL authorizes a specific request; it does not exchange identity tokens for AWS credentials.
An Amazon Cognito identity pool federates external identities and provides temporary AWS credentials associated with IAM roles. A user pool provides application sign-in and tokens, rather than directly issuing AWS credentials.