cloudfront:GetCloudFrontOriginAccessIdentity is a Read access-level action in the cloudfront service. Grants permission to get the information about a CloudFront origin access identity
ARNs that cloudfront:GetCloudFrontOriginAccessIdentity can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows cloudfront:GetCloudFrontOriginAccessIdentity. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloudfrontGetCloudFrontOriginAccessIdentity",
"Effect": "Allow",
"Action": "cloudfront:GetCloudFrontOriginAccessIdentity",
"Resource": "*"
}
]
}