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

make moduleKeyName configurable in kmsCryto.js #217

Open
taoweng100 opened this issue Aug 14, 2020 · 2 comments
Open

make moduleKeyName configurable in kmsCryto.js #217

taoweng100 opened this issue Aug 14, 2020 · 2 comments

Comments

@taoweng100
Copy link

taoweng100 commented Aug 14, 2020

Could anyone helping me making a quick change?
In kmsCrypto.js file,
change
var moduleKeyName = "alias/LambdaRedshiftLoaderKey";
to
var moduleKeyName = process.env.S3_REDSHIFT_LOADER_KMS_KEY_NAME || "alias/LambdaRedshiftLoaderKey";

I have a requirement to use the different name for the key...thanks...
This is urgent, it would be nice if someone could help ASAP. thanks.....

@IanMeyers
Copy link
Contributor

For the fastest fix, can you just change the name to what you need in the code, and then run bin/build.sh to create a new binary?

@taoweng100
Copy link
Author

thanks for the info. I will try it out. :-)

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

2 participants