Unable to create Service Account Key due to 'iam.disableServiceAccountKeyCreation' constraint

Hello,

I am trying to create a Service Account Key for my project, but I am facing an issue with the constraint ‘iam.disableServiceAccountKeyCreation’ being enforced, which prevents me from generating the key.

I have the role of “Organization Administrator,” but I am unable to edit or disable the policy constraint. Unfortunately, I also do not have an active support plan to file a tech support case.

Could someone guide me on how to proceed or suggest alternative steps to enable Service Account Key creation for my project?

Thank you.

2 Likes

Hello @theCleven ,Welcome on Google Cloud Community.

Global enforcement: https://cloud.google.com/resource-manager/docs/secure-by-default-organizations

Similar case: https://www.googlecloudcommunity.com/gc/Cloud-Hub/Unable-to-disable-the-Disable-Service-Account-Key-Creation/m-p/774276

medium.com article: https://medium.com/google-cloud/troubleshooting-101-solving-the-service-account-key-creation-is-disabled-error-9dd88c45cee4


cheers,
Damian Sztankowski
LinkedIn medium.com Cloudskillsboost Sessionize Youtube

problem solved. thank you so much mr.DamianS

1 Like

Great to hear that @theCleven . Please mark my answer as solution, if I’ve helped :slightly_smiling_face:


cheers,
Damian Sztankowski
LinkedIn medium.com Cloudskillsboost Sessionize Youtube