Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

ListBucket and GetObject both need care?

This interview card answers: ListBucket and GetObject both need care? ListBucket is on the bucket ARN; GetObject is on object ARNs. Put the right Resource on each statement and attach Condition to each (or carefully combine). Forgetting Condition on ListBucket can leak object keys even when GetObject is locked down. Two statements — ListBucket on arn:…:bucket/lab and GetObject on arn:…:bucket/lab/* — both with the same SourceIp Condition.

ListBucket and GetObject both need care? ListBucket is on the bucket ARN; GetObject is on object ARNs. Put the right Resource on each statement and attach Condition to each (or carefully combine). Forgetting Condition on ListBucket can leak object keys even when GetObject is locked down. Two statements: ListBucket on arn:…:bucket/lab and GetObject on arn:…:bucket/lab/* — both with the same SourceI
ListBucket and GetObject both need care? · Download PNG
Read card text

What this card says

What it is

ListBucket is on the bucket ARN; GetObject is on object ARNs. Put the right Resource on each statement and attach Condition to each (or carefully combine).

Why it matters

Forgetting Condition on ListBucket can leak object keys even when GetObject is locked down.

s3:ListBucket

How / example

Two statements: ListBucket on arn:…:bucket/lab and GetObject on arn:…:bucket/lab/* — both with the same SourceIp Condition.

See all AWS revision cards