awslabs / aws-js-s3-explorer

AWS JavaScript S3 Explorer is a JavaScript application that uses AWS's JavaScript SDK and S3 APIs to make the contents of an S3 bucket easy to browse via a web browser.
Apache License 2.0
825 stars 276 forks source link

Use cognito to authenticate #85

Open giom-l opened 4 years ago

giom-l commented 4 years ago

As I am interested in this project, I would like to contribute to it if possible (even if nodejs is not my specialty)

I'm currently looking to provide access to some buckets to people that dont really know AWS. Biggest issue here is to get them use CLI to put/get objects in bucket (can't provide them Console access for organizational reasons).

This projects would be very helpful for that, as they would have a visible place where to put their credentials.

A first improvment to this use case would be to implement a cognito authentication option (so a user could "impersonate" a specific IAM role without having to know any AWS credentials).

This would be an alternative option to existing authentication methods so it wouldn't break anything.

What do you think about it ?

john-aws commented 4 years ago

Related:

https://github.com/awslabs/aws-js-s3-explorer/issues/80 https://github.com/awslabs/aws-js-s3-explorer/issues/84

wparad commented 3 years ago

There's a forked version of this explorer, which supports Cognito and more advanced features: aws s3 explorer

iamkk11 commented 2 years ago

I have implemented AD login with vanilla javascript.

john-aws commented 2 years ago

@iamkk11 perhaps you could provide some additional information here, or a link to your solution.