A lead researcher at a university data lab creates a new Google Cloud project to analyze genomic datasets. The researcher has already been granted the Project Owner role (roles/owner) on the new project. However, when attempting to link the project to the university's centralized Cloud Billing Account, the researcher receives a permission error. Following Google Cloud least-privilege best practices, which IAM role must the central billing administrator grant to the researcher on the Billing Account?
- Billing Account User (roles/billing.user) on the Billing AccountAnswer
- BProject Billing Manager (roles/billing.projectManager) on the Billing Account
- CBilling Account Administrator (roles/billing.admin) on the Billing Account
- DBilling Account Viewer (roles/billing.viewer) on the Billing Account
Answer
Billing Account User (roles/billing.user) on the Billing Account
Linking a Google Cloud project to a billing account requires permissions on both resources: project-level permission to assign billing and billing account-level permission to associate projects. Because the researcher already possesses Project Owner rights on the project, granting Billing Account User (roles/billing.user) on the target Billing Account provides the exact least-privilege permission required to complete the association.
Step-by-Step Solution
Key Concept
Dual-permission authorization model for GCP project billing account linking