How to allow service account key creation in Google Cloud Platform.
Error: Key creation is not allowed on this service account
You may encounter the error Key creation is not allowed on this service account when running CubeBackup Service Account Generator or manually creating a service account key in Google Cloud Platform. This error is related to an organization policy constraint iam.disableServiceAccountKeyCreation enforced in your organization.

To resolve this, you can choose to create the CubeBackup service account using a personal Gmail account, or follow the instructions below to get an exception and disable this constraint for your CubeBackup project.
Allow service account key creation for the CubeBackup project
Assign Organization Policy Administrator role
To set an organization policy, you must have the Organization Policy Administrator role.
- Sign in to the Google Cloud Console .
- Click the project picker in the top panel. In the Select a resource dialog that appears, go to the ALL tab and select the first entry that corresponds to your domain name (e.g. yourdomain.com).

- Navigate to the IAM & Admin > IAM page from the left panel.
- Click the + Grant access button. A Grant access to yourdomain.com dialog will slide out from the right.
- Enter your email address in the Add principles > New principles textbox.
- In the Assigned roles > Select a role field, search for the Organization Policy Administrator and select it as the assigned role.

- Click Save.
Manage organization policy for the CubeBackup project
- Click the project picker in the top panel. In the Select a resource dialog that appears, go to the ALL tab and select the CubeBackup project.

- Navigate to the IAM & Admin > Organization Policies page from the left panel.
- Enter Disable service account key creation in the Filter field to search for the organization policy. You will see two results. Click the first item in the result list and follow the next steps 4 through 7. Then, please return to this page and click the second item, repeat these steps to apply the same changes.

- On the Policy details page, click the Manage policy button.
- On the Edit policy page, select Override parent's policy.
- Click Add a rule and set Enforcement to Off.
- Click Set policy.

Now, return to the CubeBackup Service Account Generator and retry downloading a service account key. The change may need some time to propagate. If it continues to fail, please reach out to us at [email protected].