We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Currently we expects that Statement.Action and Statement.Resources (in bucket policy) be string array as more general case.
Statement.Action
Statement.Resources
{ "Version": "2012-10-17", "Statement": [{ "Principal":{ "AWS":[ "arn:aws:iam::111122223333:role/JohnDoe" ] }, "Effect": "Allow", "Action": [ "s3:PutObjectTagging" ], "Resource": [ "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*" ], "Condition": { "ForAnyValue:StringEquals": { "s3:RequestObjectTagKeys": [ "Owner", "CreationDate" ] } } } ] }
But we should support and more particular case:
{ "Version": "2012-10-17", "Id": "PutObjPolicy", "Statement": [{ "Sid": "DenyObjectsThatAreNotSSEKMS", "Principal": "*", "Effect": "Deny", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*", "Condition": { "Null": { "s3:x-amz-server-side-encryption-aws-kms-key-id": "true" } } }] }
The text was updated successfully, but these errors were encountered:
KirillovDenis
Successfully merging a pull request may close this issue.
Currently we expects that
Statement.Action
andStatement.Resources
(in bucket policy) be string array as more general case.But we should support and more particular case:
The text was updated successfully, but these errors were encountered: