Skip to main content

Fixing Disabled Service Account Key Creation in a Google Cloud Project

This guide explains how to enable Service Key Creation when a policy constraint is enforced on your organization.

Korey Golbienko avatar
Written by Korey Golbienko
Updated over 3 weeks ago

Important: If you're using an email associated with a Google Workspace account, please ensure that it has Super Admin permissions enabled. See the “Become a Super Admin” section below for more information

How-To

1. Open a Private browser tab.

3.Make sure you’re signed in with the same Google account you use for your Play Console.

IAM/Permissions

In Cloud Console, open the Project Switcher.

  • Note: You might see “Select a project,” “No organization,” or your organization’s domain name instead.

Click the three-dot icon in the top-right → then IAM/Permissions.

Make sure your organization’s domain now appears in the Project Switcher.

Add the Organization Policy Administrator Role

  1. Find your email address and click the pencil icon to the right of it.

  2. Click + Add another role → then in the dropdown menu that appears, search for Organization Policy Administrator.

Select Organization Policy Administrator → then click Save.

Add Permissions to the Organization

Repeat the same steps for the organization, so it also has the Organization Policy Administrator role.

Navigate to "Disable Service Account Key Creation":

  1. Wait a few minutes, then refresh your browser a couple times.

  2. Click Organization Policies in the left-hand menu.

  3. Search for constraints/iam.disableServiceAccountKeyCreation in the filter bar.

  4. Click the Disable service account key creation item that shows Active under the Enforcement state column.

Turn Constraint Off

  1. Click Manage policy → then scroll down and click Enforced.

  2. Change Enforcement to Off → then click Done.

  3. Click the blue Set policy button.

Create your API Key

  1. Wait 1 hour, then refresh your browser a couple times.

  2. Return to the Project Switcher menu by clicking the item in the upper left corner.

  3. Select your Subsplash project.

  4. Scroll down in the left-hand menu, and click Service Accounts.

  5. Return to the creation of your API User and Private Key


Become a Super Admin

Open the Admin Console:

  1. Click Manage under the Users.

Assign Super Admin privileges:

  1. Select the account you used for your Google developer account.

  2. Scroll to Admin roles and privileges.

  3. If you do not have a role yet, select ASSIGN ROLES.

    1. If you already have a role, click the down icon

      next to Admin roles and privileges → then click the pencil icon

  4. Toggle on the Super Admin role.

  5. Scroll down and click SAVE.

If you were able to become a Super Amin: Wait at least 3 hours for the permissions to fully update across Google’s system, then proceed to fix service account key creation.

If you can't update your role because you don’t have Super Admin privileges, you’ll need someone in your organization who is a Super Admin to grant you that role in Google Workspace.

Did this answer your question?