Creating an Identity Pool

An identity pool is the container we’ll use to hold all the user identities in our application. Sort of like a Users table in a database, it holds the list of users, and it shows what credentials they used to connect. Creating one is fairly straightforward, but understanding how it works requires a deeper dive into Amazon IAM.

Identities in an identity pool can be authenticated (using an identity provider), or they can be unauthenticated, meaning that they’re essentially anonymous. You can reuse identity pools across applications, which will let your users share data between them. Amazon sets a limit of sixty identity pools active at one time, but there is no limit to the number of identities (users) you can have in ...

Get Serverless Single Page Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.