SQS queue should have server-side encryption
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Description
Secure your Amazon Simple Queue Service (SQS) messages with server-side encryption.
Rationale
Encryption ensures that Amazon SQS messages, which may contain sensitive data, are not available to anonymous or unauthorized users.
From the console
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.
From the command line
Define set-queue-attributes
in a file. Use your custom KMS Master Key ARN for KmsMasterKeyID
. Save the file.
{
"KmsMasterKeyId": "custom_key_arn",
"KmsDataKeyReusePeriodSeconds": "300"
}
Run set-queue-attributes
with the queue URL and the file created in step 1.
aws sqs set-queue-attributes
--queue-url https://us-west-2.queue.amazonaws.com/<insert-account-id>/<insert-sqs-queue-name>
--attributes file://sqs-sse-enabled.json