Queues should be encrypted with customer managed KMS keys and not default AWS managed keys, in order to allow granular control over access to specific queues.
Impact
The SQS queue messages could be read if compromised. Key management is very limited when using default keys.
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Encrypt SQS Queue with a customer-managed key
1
2
3
4
5
6
7
8
9
10
AWSTemplateFormatVersion: 2010-09-09
Description: Good example of queue
Resources:
Queue:
Type: AWS::SQS::Queue
Properties:
KmsMasterKeyId: some-key
QueueName: my-queue