简体   繁体   中英

Allow an external user (through Cognito) to access a S3 bucket and console

Is it possible to allow an external user (through Cognito) to access a S3 bucket and display the S3 console screen?

I have been trying to create a User Pool connect it with a role through Identity Pool and then in the APP SETTINGS in User Pool is my S3 url?

Is it possible to allow an external user (through cognito) to access a S3 bucket

Yes. Use Identity Pool => set Authenticated Role: S3 access with Cognito Identity ID restrict as example (custom prefix if you want): https://docs.amazonaws.cn/en_us/IAM/latest/UserGuide/reference_policies_examples_s3_cognito-bucket.html

Then, User after authenticated with Identity Pool can access S3

and display the S3 console screen ?

Not. User after authenticated has to access S3 via calling API

You may create a new user in AWS IAM and grant the access only to s3 bucket.

Then you would have the s3 web UI screen and AWS console authentication.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM