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

preguntada hace 2 años179 visualizaciones
2 Respuestas
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
respondido hace 2 años
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas