- はじめに
- エージェント
- インテグレーション
- Watchdog
- イベント
- ダッシュボード
- モバイルアプリケーション
- インフラストラクチャー
- サーバーレス
- メトリクス
- ノートブック
- アラート設定
- APM & Continuous Profiler
- CI Visibility
- RUM & セッションリプレイ
- データベース モニタリング
- ログ管理
- セキュリティプラットフォーム
- Synthetic モニタリング
- ネットワークモニタリング
- 開発者
- API
- アカウントの管理
- データセキュリティ
- ヘルプ
Classification:
compliance
Secure your Amazon Simple Queue Service (SQS) messages with server-side encryption.
Encryption ensures that Amazon SQS messages, which may contain sensitive data, are not available to anonymous or unauthorized users.
Follow the Configuring service-side encryption for a queue(console) docs to learn how to create and use AWS Key Management Service (AWS KMS) to manage customer master keys (CMK) for server-side encryption.
Define set-queue-attributes
in a file. Use your custom KMS Master Key ARN for KmsMasterKeyID
. Save the file.
set-queue-attributes.json
{
"KmsMasterKeyId": "custom_key_arn",
"KmsDataKeyReusePeriodSeconds": "300"
}
Run set-queue-attributes
with the queue URL and the file created in step 1.
set-queue-attributes.sh
aws sqs set-queue-attributes
--queue-url https://us-west-2.queue.amazonaws.com/123456789012/WebWorkerSQSQueue
--attributes file://sqs-sse-enabled.json