Identity and Access Management
An S3 bucket policy directly grants GetObject to an IAM user's ARN in the same account. The user's permissions boundary omits GetObject, and no applicable policy explicitly denies the request; what is the authorization result?
Show the answer
Correct answerC. Access is allowed through the direct bucket-policy grant.
AWhy not this: An IAM user can receive this permission directly without assuming a role.
BWhy not this: An implicit boundary deny does not limit this same-account resource-policy grant directly to an IAM user ARN.
CWhy this is right: The direct same-account resource-policy grant authorizes access when no applicable explicit deny exists.
DWhy not this: This direct resource-policy grant does not require an additional identity-policy Allow.
Within the same account, a resource-policy grant directly to an IAM user ARN is not limited by an implicit deny in that user's permissions boundary. An explicit deny would still override the grant.