I'm using the S3CopyObjectOperator in Apache Airflow to copy objects between two S3 buckets that reside in different AWS accounts. The destination bucket is encrypted using a KMS key.
However, I couldn't find a way to pass the KMS key to the operator for the destination bucket. This results in a permissions or encryption error during the copy operation.
🔍 Use Case
Source bucket: Account A
Destination bucket: Account B (KMS-encrypted)
Operator: S3CopyObjectOperator
❓ Question
How can I pass the KMS key ID for the destination bucket in this scenario?
Originally posted by @RajasGujarathi in #55658