Skip to content

Why we need to attach iot policies to both (cognito auth role and cognito identity id) #244

Answered by jmklix
smnodame asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure exactly why you will need multiple policies, but it allows you have better control over what different users can do. I would only recommend using AWSiOTDataAccess with * for testing. They only need access to resources that you intend to use, all of IoT should be covered in that; but you might want to use other resources. And for the last question did you attach a policy to the IoT things?

Hopefully I answered all of your questions, please let me know if you have any more or want more clarification.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jmklix
Comment options

Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants