More Info:

Ensure that your Amazon Secrets Manager secrets (i.e. database credentials, API keys, OAuth tokens, etc) are encrypted with Amazon KMS Customer Master Keys (CMKs) instead of default encryption keys that Secrets Manager service creates for you, in order to have a more granular control over secret data encryption and decryption process, and meet compliance requirements.

Risk Level

High

Address

Security

Compliance Standards

ISO27001, HIPAA, NISTCSF, PCIDSS

Triage and Remediation

Remediation

Here are the step-by-step instructions to remediate the “Secret Manager Secrets Should Be Encrypted With CMKs” misconfiguration in AWS using the AWS console:

  1. Log in to the AWS Management Console and navigate to the AWS Secrets Manager service.

  2. Click on the secret that needs to be remediated.

  3. Under the “Encryption” section, click on the “Edit” button.

  4. Select the “AWS KMS customer master key (CMK)” option.

  5. Choose the appropriate CMK from the list or create a new one.

  6. Click on the “Save” button to save the changes.

  7. Ensure that the secret is now encrypted with the selected CMK by checking the “Encryption” section.

That’s it! Following these steps should remediate the “Secret Manager Secrets Should Be Encrypted With CMKs” misconfiguration in AWS.

Additional Reading: