I have created up an EMR cluster with Amazon S3 SSE-S3 Enabled.
Also I configured
fs.s3.enableServerSideEncryption = true
fs.s3.serverSideEncryption.kms.keyId = key-id
in emrfs-site.xml
I am writing my data as follows to s3
aws s3 cp /home/hadoop/test.csv s3://my-bucket/enc/ --sse aws:kms /key-id- here-/
This Will save my data encrypted with kms, But I dont want to send any parameters for encryption and whatever data sent from current EMR cluster should be encrypted.Just by
aws s3 cp /home/hadoop/test.csv s3://my-bucket/enc/
Any way how I can do it ?