SES到SNS正在发送加密内容
我设置了AWS SES接收电子邮件并发布到SNS主题。然后,该主题触发了一个lambda事件来处理电子邮件。
我的问题是,给出的lambda的事件具有所有信息,但是电子邮件的“内容”(即电子邮件主体)已加密。我看不到设置加密密钥的任何时候。我还尝试使用boto3解密,并传递任何有意义的钥匙,使AWS自动应用程序都没有使用。
client = boto3.client('kms')
response = client.decrypt(
CiphertextBlob=content,
KeyId='Key_id_here',
EncryptionAlgorithm='SYMMETRIC_DEFAULT'
)
I've setup aws SES to receive emails and publish to an SNS topic. The topic then triggers a lambda event to process the email.
My issue is that the event given to the lambda has all the information but the 'content' of the email (IE: the email body) is encrypted. I do not see at any point where I had set an encryption key. I've also tried to decrypt using boto3 and passing any keys that made sense for AWS to have auto applied none of which worked.
client = boto3.client('kms')
response = client.decrypt(
CiphertextBlob=content,
KeyId='Key_id_here',
EncryptionAlgorithm='SYMMETRIC_DEFAULT'
)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论