More Info:

Ensure that the creation of user-managed service account keys is disabled within your Google Cloud project, folder, or the entire organization through the “Disable Service Account Key Creation” organization policy. This allows you to control the use of unmanaged long-term credentials for your Cloud IAM service accounts. When this resource constraint is enabled, user-managed keys cannot be created for service accounts in projects/folders/organizations affected by the constraint.

Risk Level

Medium

Address

Security, Operational Maturity

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Disable User-Managed Key Creation for Service Accounts” for GCP using GCP console, please follow the below steps:

  1. Open the GCP Console and navigate to the IAM & Admin page.
  2. Click on the “Service Accounts” tab.
  3. Select the Service Account for which you want to disable User-Managed Key Creation.
  4. Click on the “Edit” button in the Service Account details page.
  5. Scroll down to the “Key Management” section and click on the “Show More” link.
  6. Under the “Key Management” section, you will see an option “User-managed keys”. Disable this option.
  7. Click on the “Save” button to save the changes.

By following these steps, you will successfully remediate the misconfiguration “Disable User-Managed Key Creation for Service Accounts” for GCP using GCP console.