We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug PutBucketPolicy document validation should validate the following structure for Principal property in Statements:
Principal
Statements
"Principal": { "AWS": "*" }
To Reproduce
aws --endpoint-url http://localhost:7070 s3api put-bucket-policy --bucket MyBucket --policy file://policy.json
policy.json
{ "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::123456789012:root" }, "Action": [ "s3:DeleteObject", "s3:PutObject" ], "Resource": "arn:aws:s3:::MyBucket/*" } ] }
Expected behavior The action shouldn't return 400 validation error
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
PutBucketPolicy document validation should validate the following structure for
Principal
property inStatements
:To Reproduce
policy.json
Expected behavior
The action shouldn't return 400 validation error
The text was updated successfully, but these errors were encountered: