More Info:

There should be one Amazon KMS Customer Master Key (CMK) created in your AWS account for the web tier in order to protect data that transits your AWS web stack, have full control over data encryption/decryption process, and meet compliance requirements.

Risk Level

Medium

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the “Web-tier KMS Key Should Be In Use” misconfiguration in AWS using the AWS console, follow these steps:

  1. Log in to the AWS Management Console.
  2. Navigate to the AWS Key Management Service (KMS) dashboard.
  3. Click on “Create key” to create a new KMS key.
  4. Choose “Symmetric” as the key type and select “AWS managed” for the key material origin.
  5. Enter a name for the key, such as “Web-tier KMS Key”.
  6. Under “Key usage permissions”, grant the appropriate permissions to the IAM roles or users that require access to the key.
  7. Click “Next” to review the key configuration settings, then click “Finish” to create the key.
  8. Navigate to the Amazon Elastic Compute Cloud (EC2) dashboard.
  9. Select the instance(s) that require the KMS key.
  10. In the “Actions” menu, select “Instance Settings” and then “Modify IAM Role”.
  11. Select the IAM role that requires access to the KMS key, and click “Save”.
  12. Repeat steps 9-11 for any additional instances that require the KMS key.

By following these steps, you have created a new KMS key and configured the appropriate IAM roles to use it, remediating the “Web-tier KMS Key Should Be In Use” misconfiguration.

Additional Reading: