Skip to content

S3BucketPolicy - Invalid principal in policy error #10365

Discussion options

You must be logged in to vote

Hello @tetiana-fomina-photobox 👋 I believe that in cases where the principal is only one user, you need to provide it directly as a string, not as a list that has a single element as it's not considered a valid format by AWS. List format is accepted only if there's more than one user specified.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@tetiana-fomina-photobox
Comment options

@pgrzesik
Comment options

@jbmarflo
Comment options

Answer selected by tetiana-fomina-photobox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #10361 on December 15, 2021 08:53.