Remediation
Update an Encrypted Table with an AWS Managed Keyβ
From Command Lineβ
To enable encryption at rest using the AWS managed key, run the following command:
aws dynamodb update-table \
--table-name {{table-name}} \
--sse-specification Enabled=true,SSEType=KMS
Update an Encrypted Table with a Customer-Managed Keyβ
To enable encryption at rest using a Customer-Managed key (CMK), specify the key ID in the command:
aws dynamodb update-table \
--table-name {{table-name}} \
--sse-specification Enabled=true,SSEType=KMS,KMSMasterKeyId={{kms-key-id}}