Reputation: 11
Send and retrieve messages option allows to retrieve messages from sqs dlq. SSE is enabled but message body is displayed in plain text. Is there is a way to prevent user with permissions to redrive messages from being able to see message content (that might contain PII) in plain text?
Upvotes: 0
Views: 106
Reputation: 11
Picked solution - using clinet side encryption. Messages are sent to DLQ manually in case of errors and message content is manually encrypted using KMS.
I think double encryption will be in place (since both regular queue and DLQ have encryption enabled already).
Additional attribute is added to the message sent to DLQ to indicate that it is encrypted. This way when read from DLQ using console SQS UI message body is shown encrypted. When reprocessed - based on the attribute presense message is decrypted prior to processing (same workload is used for regular queue and DLQ).
Upvotes: 0