skip to Main Content

Amazon web services – Retrieve images from AWS S3 in react native app

I'm receiving urls like those from backend: "https://s3.servauto.fr/compression-img/a5d6898a-382c-11ee-bbb5-00155dc60818.webp" it's not the exact url it's just an example, but I changed only the domain. I'm getting this if trying to access url from browser: <Error> <Code>AccessDenied</Code> <Message>Access Denied.</Message> <Key>a5d6898a-382c-11ee-bbb5- 00155dc60818.webp</Key> <BucketName>compression-…

VIEW QUESTION

Amazon web services – Can't access S3 bucket as root

I've created a bucket with the following policy: { 'Version': '2008-10-17', 'Statement': [{ 'Sid': 'eb-58950a8c-feb6-11e2-89e0-0800277d041bc', 'Effect': 'Deny', 'Principal': { 'AWS': '*' }, 'Action': '*', 'Resource': bucket.attrArn }] } which restricts any action on the bucket. Now I can't do anything…

VIEW QUESTION
Back To Top
Search