google-cloud-platformgoogle-iamgoogle-solar-api

What IAM roles/permissions do I need to enable an API on someone else's GCP project?


Someone at my organisation created a Google Cloud Project and granted me access. I want to enable the Solar API and generate an API key for it.

Is there any IAM role they can give me so that I can do this myself? It seems to me that this should be a basic question, but I cannot find a straight answer anywhere.

I already have the roles Admin, API Keys Admin, ApiGateway Admin, Maps API Admin and Service Consumer. However, when I try to enable the Solar API, the website gives me an "Insufficient permissions to check the enablement status of this product" error.


Solution

  • As said by dany L you need to have permission : serviceusage.services.enable. These APIs are core GCP components and require special permissions. The roles which you have enabled as of now are only useful for managing the resources. If you need to enable any core GCP APIs you need to have the Service Usage Admin role this official document lists all the permissions available for this role.