A cloud engineer at a smart precision agriculture startup needs to delegate project billing administration to a newly hired team lead. The team lead must be able to link newly created Google Cloud projects to the company's central Billing Account and unlink projects when necessary, following the principle of least privilege. The team lead should not have permission to modify billing account payment methods or manage overall billing account access. Which combination of Identity and Access Management (IAM) roles provides the minimum necessary permissions?
- Billing Account User role on the Billing Account and Project Billing Manager role on the target projectsAnswer
- BBilling Account Administrator role on the Billing Account and Owner role on the target projects
- CBilling Account User role on the Billing Account and Viewer role on the target projects
- DBilling Account Viewer role on the Billing Account and Project Billing Manager role on the target projects
Answer
Granting the Billing Account User role on the Billing Account combined with the Project Billing Manager role on the target projects provides the exact minimum required permissions.
Linking a Google Cloud project to a Billing Account requires permissions on both sides of the relationship. On the Billing Account side, the Billing Account User role allows an identity to associate projects with that billing account. On the Project side, the Project Billing Manager role allows an identity to link or unlink the project from a billing account. This combination satisfies the requirement under the principle of least privilege.
Step-by-Step Solution
Key Concept
Two-Sided Permission Requirement for Project Billing Association