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年前176ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ