Allow IAM users to access specific objects in a bucket

Last updated:2021-04-28 11:04:15

You can create a policy to allow IAM users to access specific objects in a bucket.

The following policy grants the ks3:GetObject operation permission on objects in the readonly directory of the example_bucket bucket.

{
    "Version": "2015-11-01",
    "Statement": [
    {
        "Effect": "Allow",
        "Action": "ks3:GetObecjt",
        "Resource":"krn:ksc:ks3:::example_bucket/readonly/*"
     }
   ]
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈