# Auth0 + Amazon S3 + IAM roles

**URL:** <https://community.auth0.com/t/auth0-amazon-s3-iam-roles/8374>\
**Category:** Get Help\
**Tags:** auth0-users, s3, authorization\
**Created:** [October 3, 2017, 3:39pm UTC](https://community.auth0.com/t/auth0-amazon-s3-iam-roles/8374 "2017-10-03T15:39:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.duris](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@martin.duris](https://community.auth0.com/u/martin.duris)\
**Post date:** [October 3, 2017, 3:39pm UTC](https://community.auth0.com/t/auth0-amazon-s3-iam-roles/8374/1 "2017-10-03T15:39:57Z")

</div>

Hi,

i have question how “cooperation” between Auth0 and AWS works. If i understand it right, Auth0 Amazon addon allow me to get Amazon identity.

**Now here is my “setup”:**

- All my users are managed by Auth0 + i am also using Auth0 Extension Authorization to assign them some groups/roles+permissions
- Each Auth0 have own S3 bucket with his files and i would like to use Amazon/IAM roles to take care of access to those bucket

**What i need ?**

- When i want to download/upload some file to S3 i need to have Amazon identity with IAM role which will allow me to download/upload file in S3 bucket

**Question:**

- but how Amazon know which Auth0 user have which Amazon IAM role ?
- do i need to maintain two sets of users ? (one in Auth0 for login/groups/roles/… and one in Amazon with IAM roles) ?

Please, correct me in any of “statements” above - i guess i just not fully understand how Auth0 ↔ Amazon “works”

Thank you very much,  
Martin

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/auth0-amazon-s3-iam-roles/8374/2 "2018-03-02T05:56:48Z")

</div>


