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

Encrypt Environment Variables Injected into Lambdas #58

Open
freeformflow opened this issue Apr 5, 2017 · 1 comment
Open

Encrypt Environment Variables Injected into Lambdas #58

freeformflow opened this issue Apr 5, 2017 · 1 comment

Comments

@freeformflow
Copy link
Contributor

freeformflow commented Apr 5, 2017

I'm about to finish adding the injection of key-value pairs into the Lamba's context using that service's environmental variable feature.

According to the docs, AWS provides default encryption to these variables, but that's not going to be good enough for secrets. Consider how to protect secrets. We should probably encrypt client-side, upload to AWS, and then wrap the Lambda environmental variables in a helper that decrypts them and makes them available via the require("panda-sky") module.

@automatthew
Copy link
Contributor

How do we deliver the secret key to the decryption helper? I'm not familiar enough with the ecosystem to have any good guesses.

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