-
Notifications
You must be signed in to change notification settings - Fork 27
Aws cloud
Elena Moshnikova edited this page Nov 4, 2022
·
4 revisions
- should have public access for getting files from 'brnup' bucket with 'pictures/theme', 'pictures/unverified' subbuckets.
- should have role with delete/add files permission, convert file creds into base64 string and put it into S3_KEY secret
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": "", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::brnup/" }, { "Sid": "DeleteObjForDeveloper", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::449895215005:user/developer" }, "Action": [ "s3:PutObject", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::brnup/*" } ] }