Skip to main content

Upload encrypted files to AWS S3

·1 min
# Probably need to make sure that both S3 bucket and KMS key are in same region.

aws s3 cp sample.csv s3://<bucket-name>/<key> \
  --region us-west-2 \
  --sse-kms-key-id <kms-key-id> \
  --sse aws:kms