This helps ensure that the data is kept secure and protected when at rest. The user must choose from two key options which then determine when the data is encrypted at rest.
Rationale
Encryption at rest protects QLDB ledger data from unauthorized access even if the underlying storage media is compromised.
Impact
If an unauthorized user steals the data, it would be unreadable for them because a key would be required to decrypt the message into plaintext.
Open the AWS Key Management Service (KMS) console.
Create a new KMS key or select an existing one to encrypt your QLDB data at rest.
Configure the key policy to grant the appropriate IAM users or role permissions.
Enable Encryption for QLDB:
Open the Amazon QLDB console.
Choose the QLDB ledger for which you want to enable encryption at rest.
Click on the Configuration tab.
Under the Encryption section.
Click on the Edit button or Modify option.
Enable encryption for the ledger.
Select the KMS key you created or chose in the first step for encrypting the QLDB data.
Save the changes to enable encryption at rest for the QLDB ledger.
Verify Encryption Status:
Once the encryption at rest is enabled, the QLDB console will indicate the encryption status as Enabled for the selected ledger.
Ensure that the KMS key specified for encryption is the correct key you intended to use.
Testing and Verification:
Perform read and write operations on your QLDB ledger to validate that the data is encrypted at rest.
Verify that you can access and query the encrypted data using appropriate authentication and authorization methods.
Key Management and Rotation:
Follow AWS best practices for key management, including securely storing and managing the KMS key used for QLDB encryption.
Implement a key rotation policy, following AWS recommendations and compliance requirements if required.
Backup and Disaster Recovery:
Ensure you have appropriate backup and disaster recovery mechanisms for your QLDB data.
Consider backing up the KMS key used for encryption to prevent data loss in case of a key compromise or accidental deletion.
Expected Result
Encryption at rest should be enabled for all QLDB ledgers using either AWS-managed or customer-managed KMS keys, with the encryption status showing as Enabled.
Remediation
Using AWS Console
Follow the audit steps above to enable encryption at rest for your Amazon QLDB ledgers.
Default Value
QLDB encrypts all data at rest by default using an AWS-owned KMS key. Customer-managed KMS keys can be configured for additional control.
1---2name: cis-aws-database-11-33description: Ensure Data at Rest is Encrypted4---56# 11.3 Ensure Data at Rest is Encrypted (Manual)78## Description910This helps ensure that the data is kept secure and protected when at rest. The user must choose from two key options which then determine when the data is encrypted at rest.1112## Rationale1314Encryption at rest protects QLDB ledger data from unauthorized access even if the underlying storage media is compromised.1516## Impact1718If an unauthorized user steals the data, it would be unreadable for them because a key would be required to decrypt the message into plaintext.1920## Audit Procedure2122### Using AWS Console23241. Create an AWS Key Management Service (KMS) Key:25 - Sign in to the AWS Management Console at https://console.aws.amazon.com/ with your AWS account credentials.26 - Open the AWS Key Management Service (KMS) console.27 - Create a new KMS key or select an existing one to encrypt your QLDB data at rest.28 - Configure the key policy to grant the appropriate IAM users or role permissions.292. Enable Encryption for QLDB:30 - Open the Amazon QLDB console.31 - Choose the QLDB ledger for which you want to enable encryption at rest.32 - Click on the `Configuration` tab.33 - Under the `Encryption` section.34 - Click on the `Edit` button or `Modify` option.35 - Enable encryption for the ledger.36 - Select the KMS key you created or chose in the first step for encrypting the QLDB data.37 - Save the changes to enable encryption at rest for the QLDB ledger.383. Verify Encryption Status:39 - Once the encryption at rest is enabled, the QLDB console will indicate the encryption status as `Enabled` for the selected ledger.40 - Ensure that the KMS key specified for encryption is the correct key you intended to use.414. Testing and Verification:42 - Perform read and write operations on your QLDB ledger to validate that the data is encrypted at rest.43 - Verify that you can access and query the encrypted data using appropriate authentication and authorization methods.445. Key Management and Rotation:45 - Follow AWS best practices for key management, including securely storing and managing the KMS key used for QLDB encryption.46 - Implement a key rotation policy, following AWS recommendations and compliance requirements if required.476. Backup and Disaster Recovery:48 - Ensure you have appropriate backup and disaster recovery mechanisms for your QLDB data.49 - Consider backing up the KMS key used for encryption to prevent data loss in case of a key compromise or accidental deletion.5051## Expected Result5253Encryption at rest should be enabled for all QLDB ledgers using either AWS-managed or customer-managed KMS keys, with the encryption status showing as `Enabled`.5455## Remediation5657### Using AWS Console5859Follow the audit steps above to enable encryption at rest for your Amazon QLDB ledgers.6061## Default Value6263QLDB encrypts all data at rest by default using an AWS-owned KMS key. Customer-managed KMS keys can be configured for additional control.6465## References66671. https://aws.amazon.com/products/databases/6869## CIS Controls7071| Controls Version | Control | IG 1 | IG 2 | IG 3 |72| ---------------- | ------------------------------------------ | ---- | ---- | ---- |73| v8 | 3.11 Encrypt Sensitive Data at Rest | | x | x |74| v7 | 14.8 Encrypt Sensitive Information at Rest | | | x |7576## Profile7778Level 1 | Manual
Run npx skillmds@latest add cyberstrikeus/cis-aws-database-11-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Ensure Data at Rest is Encrypted It is listed under DevOps & Infra on SkillMD.
SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
cyberstrikeus (@cyberstrikeus) published this skill. Their other Agent Skills are listed on their SkillMD profile.