s3:PutEncryptionConfiguration
requires KMS permissions in the IAM policy. However, AWS IAM policy simulator does not show the same.
The simulator shows an "allow" on the following S3 policy while there are no other policies with KMS permissions. Am I missing something?
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
A user cannot make a bucket policy encrypted if the user does not have IAM policy that spells out access for KMS. In this case, the above S3 policy in the simulator shows allowed.