Access denied using cyberduck or s3 Browser to upload object into s3 bucket

0

Hi there,

No matter what I do I cannot upload any object to an s3 bucket and I have the right permissions. I have tried playing around with the permissions and then ended up giving up and allowing all s3 permissions.

I am using Cyberduck or S3 browser to upload documents, for certain reasons I cannot upload files straight to s3 in the browser.
Below is the JSON that is used.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:",
"Resource": "
"
}
]
}

I really don't know why it will give me 'access denied' whenever I try to upload.

Thanks

已提问 5 年前1337 查看次数
1 回答
0

Hi,

Below is the sample minimal IAM policy you may use to provide permissions to the bucket:
[code]
{
"Statement": [ {
"Effect": "Allow",
"Action": ["s3:ListBucket", "s3:GetBucketLocation"],
"Resource": "arn:aws:s3:::your_bucket_name",
"Condition": { }
}, {
"Effect": "Allow",
"Action": ["s3:PutObject", "s3:GetObject","s3:DeleteObject"],
"Resource": "arn:aws:s3:::your_bucket_name/*",
"Condition": {}
} ]
}
[/code]

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则