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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠