Hi AWS Folks,
I currently see a bucket policy that has trusts an account ID of "cloudfront", similar to some public examples [1]
I wanted to ask: will the "aws:PrincipalAccount" condition key will be set to "cloudfront"? E.g., if your identity perimeter RCP were to be put in place.
(Or if I should instead rely on the "aws:PrincipalIsAWSService" check.)
[1]
Searcharn:aws:iam::cloudfront:user/ in https://aws.amazon.com/blogs/modernizing-with-aws/how-to-build-an-automated-c-code-documentation-generator-using-aws-devops/ and https://www.kevinslin.com/notes/f2542b0c-5cbd-49b9-84d8-151ccab99dea/
Hi AWS Folks,
I currently see a bucket policy that has trusts an account ID of
"cloudfront", similar to some public examples [1]I wanted to ask: will the
"aws:PrincipalAccount"condition key will be set to"cloudfront"? E.g., if your identity perimeter RCP were to be put in place.(Or if I should instead rely on the
"aws:PrincipalIsAWSService"check.)[1]
Search
arn:aws:iam::cloudfront:user/in https://aws.amazon.com/blogs/modernizing-with-aws/how-to-build-an-automated-c-code-documentation-generator-using-aws-devops/ and https://www.kevinslin.com/notes/f2542b0c-5cbd-49b9-84d8-151ccab99dea/