Reputation: 5285
I'm building an AWS-backed site which, broadly speaking, does the following:
I'm trying to get clarity on the interactions I will have to have with tokens and credentials. I'm pretty clear on what I have to do with the tokens I get from the user pool:
The expiration details for these tokens are in the link above. The documentation is pretty clear on all of the above, but I'm confused about the Identity Pool credential functionality, and haven't been able to find explanations in the docs on the following questions:
CognitoIdentityCredentials
gives me credentials with my desired expiration?Upvotes: 2
Views: 2351
Reputation: 4480
The user pool is only for user management. Any interaction that the user has with AWS services and resources is done via Identity Pool. You assign the roles via Identity pool. To answer your 2 specific questions:
Upvotes: 2