S3 access private file

0

Hi, may i know how to access the private file inside the S3 bucket, which initially setup as private for bucket and also object. Another question is can i just give a access of the object(private) in the private bucket and for some group (organization) which does not have aws account? may guys help me for this? thanks

已提問 2 年前檢視次數 178 次
2 個答案
0

A private bucket means that you need to explicitly give access to the bucket and objects for the users or roles. After giving the access, users or roles can use the S3 APIs, like the GetObject to access them, with their own credentials, even cross-account. Note that you can leverage Amazon Cognito to give access to external users as they will have a role attached after login. These accesses can be for the whole bucket or for specific objects. See bucket policies and user policies.

If you end user doesn't have an AWS Credential, you can create a pre-signed url to give temporary access to the object.

profile pictureAWS
Eduardo
已回答 2 年前
0

Amazon Cognito identity pools provide temporary AWS credentials for users who are guests (unauthenticated) and for users who have been authenticated and received a token. You can implement this for accessing specific objects with in s3 and based on attributes . https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南