node.js - AWS S3 Android sdk added files not visible -
i have uploaded files s3 bucket via android sdk. able process them on nodejs server using both stream , signed url.
they not visible when sign s3 though. thought maybe because adding keys folder eg. 'myfolder/myfilename.txt', wasn't issue.
so can process them fine need able access them main s3 console on aws.
i have user set these permissions:
{ "statement": [ { "effect": "allow", "action": "s3:listallmybuckets", "resource": "arn:aws:s3:::*" }, { "effect": "allow", "action": "s3:*", "resource": [ "arn:aws:s3:::folder", "arn:aws:s3:::folder/*" ] } ] }
any appreciated.
are setting access control list? can use canned 1 this:
por.setcannedacl(cannedaccesscontrollist.publicread);
Comments
Post a Comment