Open brandond opened 7 years ago
@brandond Would you mind elaborating on what you are thinking with this request.
See this section of the documentation: http://docs.aws.amazon.com/lambda/latest/dg/env_variables.html#env_encrypt
If you use the Lambda management console and enable environment variable encryption, the console has some back-end functionality to encrypt the plaintext content of the variables that you enter into the web form using the KMS key specified. The ciphertext is then stored in the lambda configuration The Lambda code you write then has to make some KMS calls to decrypt the contents. Sample code for this is provided in the console as well.
From a lambda-uploader perspective, the implementation should probably function similarly - make a KMS call to encrypt the plaintext variable contents, using the specified KMS key, and store the ciphertext in place of the original contents.
From a lambda-uploader perspective, the implementation should probably function similarly - make a KMS call to encrypt the plaintext variable contents, using the specified KMS key, and store the ciphertext in place of the original contents.
It seems like this would require we:
aws kms
CLI feature so that we can encipher the secretscould use https://github.com/Zemanta/py-secretcrypt for this
Optional, of course