DynamoDB Encryption at Rest
All user data stored in Amazon DynamoDB is fully encrypted at rest. DynamoDB encryption
at rest provides
enhanced security by encrypting all your data at rest using encryption keys stored
in AWS Key Management Service (AWS KMS)
DynamoDB encryption at rest provides an additional layer of data protection by securing your data in an encrypted table—including its primary key, local and global secondary indexes, streams, global tables, backups, and DynamoDB Accelerator (DAX) clusters whenever the data is stored in durable media. Organizational policies, industry or government regulations, and compliance requirements often require the use of encryption at rest to increase the data security of your applications.
Encryption at rest integrates with AWS KMS for managing the encryption key that is used to encrypt your tables. For more information, see AWS Key Management Service Concepts in the AWS Key Management Service Developer Guide.
When creating a new table, you can choose one of the following customer master keys (CMK) to encrypt your table:
-
AWS owned CMK – Default encryption type. The key is owned by DynamoDB (no additional charge).
-
AWS managed CMK – The key is stored in your account and is managed by AWS KMS (AWS KMS charges apply).
-
Customer managed CMK – The key is stored in your account and is created, owned, and managed by you. You have full control over the CMK (AWS KMS charges apply).
When you access an encrypted table, DynamoDB decrypts the table data transparently. You can switch between the AWS owned CMK, AWS managed CMK, and customer managed CMK at any given time. You don't have to change any code or applications to use or manage encrypted tables. DynamoDB continues to deliver the same single-digit millisecond latency that you have come to expect, and all DynamoDB queries work seamlessly on your encrypted data.
You can specify an encryption key when you create a new table or switch the encryption keys on an existing table by using the AWS Management Console, AWS Command Line Interface (AWS CLI), or the Amazon DynamoDB API. To learn how, see Managing Encrypted Tables in DynamoDB.
Encryption at rest using the AWS owned CMK is offered at no additional charge. However,
AWS KMS charges apply for an AWS managed CMK and for a customer managed CMK. For more
information
about pricing, see AWS KMS pricing
DynamoDB encryption at rest is available in all AWS Regions, including the AWS China (Beijing) and AWS China (Ningxia) Regions and the AWS GovCloud (US) Regions. For more information, see Encryption at Rest: How It Works and DynamoDB Encryption at Rest Usage Notes.