I changed the iam.disableServiceAccountKeyCreation policy to "not enforced" at the org and at the project levels, but I still cannot create service account keys. Please advise. Thanks
Solved! Go to Solution.
JFYI, this helped:
- https://youtu.be/ABIiOM9X5kM?si=AQBVVE4R0pvYWlGA
- and prompting Gemini 2.5 Pro with: "Provide me with precise (and verified) step-by-step instructions on how to create a service account key under my Google Workspace admin account. I need it to be able to upload documents to Google Drive from a Python program."
Hi @vitalys,
Welcome to Google Cloud Community
Even if you've set iam.disableServiceAccountKeyCreation to "not enforced" at the Organization and Project levels, key creation can still be blocked.
Here are the possible reasons you can check:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Thank you. I will look into it further and respond it this helps.
Hi added serviceAccountKeyAdmin jic. I don't understand where folders come into play. As you can see in the provided screenshots, I am trying to create service account key for the the default service account in a very new admin account. Which menu/action sequence do I need to follow before I can create this key? Please advise.
I'm also experiencing this same problem and haven't found a solution to this. I also found this in the web:
"Since May 3, 2024, key creation for service accounts is disabled by default.
More information:
https://cloud.google.com/resource-manager/docs/organization-policy/restricting-service-accounts?auth...
"
Any way to get around this?
JFYI, this helped:
- https://youtu.be/ABIiOM9X5kM?si=AQBVVE4R0pvYWlGA
- and prompting Gemini 2.5 Pro with: "Provide me with precise (and verified) step-by-step instructions on how to create a service account key under my Google Workspace admin account. I need it to be able to upload documents to Google Drive from a Python program."