Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support unload to tempdir with specified KMS key #457

Open
alexmoore0 opened this issue Mar 4, 2021 · 0 comments
Open

Support unload to tempdir with specified KMS key #457

alexmoore0 opened this issue Mar 4, 2021 · 0 comments

Comments

@alexmoore0
Copy link

Problem
Redshift natively encrypts UNLOAD-ed files, however it also supports server-side encryption using a specified AWS KMS key by adding the following clause to the query: KMS_KEY_ID '<KEY>' ENCRYPTED.

Solution
Add an optional parameter kms_key_id that is passed to the UNLOAD query in RedshiftRelation.scala.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant