Cognito/Identity Pools


how can you decide whether to use AWS Cognito OR AWS Identity Pools. Does both services Support SAML?

asked 2 years ago550 views
3 Answers

Hi Satyajit,

I believe your question is referring to when do you use AWS Cognito User Pool or Identity Pool. Both are components of Cognito. User Pool is used for authentication with Identity Providers. Identity Pool is used for authorization to other AWS Services using temporary credentials. Example use case:

User Pool - for sign in to your web/mobile apps

Identity Pool - give access to AWS resources like S3 buckets.

Here is a short article that will help you in your understanding of these concepts:

For a more detailed explanation with scenarios, I will recommend this reading:

profile pictureAWS
answered 2 years ago


A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers. Whether your users sign in directly or through a third party, all members of the user pool have a directory profile that you can access through a Software Development Kit (SDK).

Amazon Cognito identity pools (federated identities) enable you to create unique identities for your users and federate them with identity providers. With an identity pool, you can obtain temporary, limited-privilege AWS credentials to access other AWS services.

Please go through below links to know about their usage.

Thanks, Gautam

profile pictureAWS
answered 2 years ago

What if I need to authenticate users from AzureAD within an ELK using Cognito? Do I need to setup both user pool and identity pool OR can I just use one user pool with SAML pointing to a AzureAD Identity provider with the proper schema?


answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions