More Info:

Ensure that user-managed service account key upload is disabled within your Google Cloud project, folder, or the entire organization, through the “Disable Service Account Key Upload” organization policy. This allows you to control the upload process of unmanaged long-term credentials for your Cloud IAM service accounts. By default, users can upload keys to service accounts based on their Cloud IAM roles and permissions.

Risk Level

Medium

Address

Security, Operational Maturity

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the “Disable Service Account Key Upload” misconfiguration in GCP using the GCP console, follow the below steps:

  1. Login to your GCP console and navigate to the IAM & Admin section.

  2. Click on the “Service Accounts” tab.

  3. Select the service account for which you want to disable the key upload.

  4. Click on the “Edit” button located at the top of the page.

  5. Scroll down to the “Service Account Permissions” section and uncheck the “Create and manage keys” option.

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

  7. Verify that the “Create and manage keys” option is unchecked for the service account.

By following these steps, you have successfully remediated the “Disable Service Account Key Upload” misconfiguration for the selected service account in GCP using the GCP console.