More Info:

Ensure that there is a KMS Key in the Web-tier in order to protect the data that transits the web stack.

Risk Level

Medium

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “KMS Key Should Have Unique Key In Web Tier” for GCP using GCP console, follow the steps below:

  1. Log in to the GCP console using your credentials.
  2. Navigate to the Cloud Key Management Service (KMS) page.
  3. Select the key that is being used in the web tier.
  4. Click on the “Edit” button.
  5. In the “Edit Key” panel, scroll down to the “Key Usage” section.
  6. Under “Key Usage”, select “Asymmetric Sign/Verify” as the key usage.
  7. Click on the “Save” button to save the changes.

This will remediate the misconfiguration by ensuring that the KMS key being used in the web tier has a unique key usage of “Asymmetric Sign/Verify”. This will help to ensure that the key is being used for its intended purpose and is not being used for other purposes that could compromise its security.