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
bc6d0fa created the issue
Steps to replicate:
Creating a new folder via the AWS CLI works:
aws s3api put-object --server-side-encryption AES256 --key test/ --bucket
Setting the s3.metadata.default to include the encryption header doesn't work either. It seems like creating a new folder doesn't include the x-amz-server-side-encryption header.
The text was updated successfully, but these errors were encountered:
@dkocher commented
In 4e5aba2.
Sorry, something went wrong.
We use the following bucket policy for testing
{ "Version": "2012-10-17", "Statement": [ { "Sid": "DenyIncorrectEncryptionHeader", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::test-eu-central-1-sse/*", "Condition": { "StringNotEquals": { "s3:x-amz-server-side-encryption": "AES256" } } }, { "Sid": "DenyUnEncryptedObjectUploads", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::test-eu-central-1-sse/*", "Condition": { "Null": { "s3:x-amz-server-side-encryption": "true" } } } ] }
In 95e6c76.
In 7fea217.
Milestone renamed
dkocher
No branches or pull requests
Steps to replicate:
Creating a new folder via the AWS CLI works:
aws s3api put-object --server-side-encryption AES256 --key test/ --bucket
Setting the s3.metadata.default to include the encryption header doesn't work either. It seems like creating a new folder doesn't include the x-amz-server-side-encryption header.
The text was updated successfully, but these errors were encountered: