I am logged-in with a non-root user to my company AWS account.
The default encryption for the S3 bucket is AWS KMS with custom ARN.
However, when I try to upload a file and choose "NONE" encryption, it fails with a FORBIDDEN error. The same file can be uploaded if I use AES-256 or AWS-KMS encryption.
As far as I know the bucket has to have a DENY policy for upload of non-encrypted objects but all I can see in the bucket-policy is a DENY policy for "aws:SecureTransport": "false", which I believe is to restrict the access from non HTTPS sources.
Can anyone explain how the upload is restricted?