1 Answer
- Newest
- Most votes
- Most comments
0
Usually you receive "Invalid principal in policy" when you are trying to put the value of principal which is invalid. To resolve this issue kindly check the following
- Your bucket policy uses supported values for a Principal element.
- The Principal element is formatted correctly.
- If the Principal is an AWS Identity and Access Management (IAM) user or role, then confirm that the user or role wasn't deleted. For details, you can also check the following Knowledge center article. https://repost.aws/knowledge-center/s3-invalid-principal-in-policy-error
Also, In AWS GovCloud (US) Regions, ARNs have an identifier that is different from the one in other standard AWS Regions. Kindly check if the resource ARN matches the GovCloud standard. https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-arns.html
answered a year ago
Relevant content
- asked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago