# Use saml to upload images to aws s3 bucket from angular 2 app?

**URL:** <https://community.auth0.com/t/use-saml-to-upload-images-to-aws-s3-bucket-from-angular-2-app/6707>\
**Category:** Get Help\
**Tags:** angular-2, s3, aws, saml\
**Created:** [May 22, 2017, 7:42pm UTC](https://community.auth0.com/t/use-saml-to-upload-images-to-aws-s3-bucket-from-angular-2-app/6707 "2017-05-22T19:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah.oconnor](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sarah.oconnor](https://community.auth0.com/u/sarah.oconnor)\
**Post date:** [May 22, 2017, 7:42pm UTC](https://community.auth0.com/t/use-saml-to-upload-images-to-aws-s3-bucket-from-angular-2-app/6707/1 "2017-05-22T19:42:19Z")

</div>

We are already using Auth0 for logging into our angular 2 app. We want to allow users to upload images to our Amazon s3 bucket. I set this up using the aws-sdk and hard coding credentials into the app. I wanted a more secure method so I set up Saml in the auth0 dashboard with an aws role for the s3 bucket. From the auth0 console I can now access the aws console. I can copy the relevant link into my app and upload images this way but this is not what I want. Firstly it requires a second login and secondly I want users to stay in our app and be unaware of the s3 bucket.  
Is there a tutorial to help me implement this? I haven’t had any luck finding one.

---

<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:54am UTC](https://community.auth0.com/t/use-saml-to-upload-images-to-aws-s3-bucket-from-angular-2-app/6707/2 "2018-03-02T05:54:03Z")

</div>


