ExitAmazon Cognito: identity pools and AWS credentials1 / 9
Explanation

Turn an application identity into AWS access

How identity pools exchange authenticated or guest identities for temporary AWS credentials scoped by IAM roles. · associate

An Amazon Cognito identity pool lets an application obtain temporary AWS credentials for an authenticated user or, when enabled, an unauthenticated guest. Use it when a web or mobile application needs to call AWS services directly without embedding long-term access keys.

A provider token proves an authenticated identity; it is not an AWS access key. The identity pool accepts supported identity-provider tokens and obtains credentials for an IAM role. A Cognito user pool can supply the identity token, but an identity pool can also work with other supported providers.

The returned temporary credentials contain an access key ID, a secret access key, and a session token, together with an expiration time. The application uses these credentials to sign AWS API requests; the role's permissions scope what those requests can do.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.