I am using the S3cmd put with an -e flag to encrypt a file.
When I try to copy the file to Redshift (from S3) I get an error. I am using my passphrase converted to AES256 as my master key.
copy xxx
from 'xxx'
access_key_id 'xxx'
secret_access_key 'xxx'
master_symmetric_key 'xxx'
IGNOREHEADER 8
encrypted
delimiter ',';
I receive an error that looks like this:
ERROR: XX000: Failed writing body (0 != ) Cause: S3 object 'xxx' does not have 'x-amz-meta-x-amz-key' metadata