A cloud engineer must configure access for a finance team member who needs to link newly provisioned Google Cloud projects to the company's central Billing Account and monitor project cost data. The finance team member must not be allowed to modify project infrastructure resources or manage billing account administrators and budgets. Which IAM role assignment strategy adheres to the principle of least privilege?
- Grant the Billing Account User (roles/billing.user) role on the Billing Account, and grant the Project Billing Manager (roles/resourcemanager.projectBillingManager) role on the target projects.Cevap
- BGrant the Project Editor (roles/editor) role on the target projects only.
- CGrant the Billing Account Administrator (roles/billing.admin) role on the Billing Account, and grant the Project Owner (roles/owner) role on the target projects.
- DGrant the Billing Account User (roles/billing.user) role at the Organization level only.
Cevap
Grant the Billing Account User role on the Billing Account and the Project Billing Manager role on the target projects.
Linking a Google Cloud project to a Billing Account requires explicit authorization on two separate resources. The principal must hold the Billing Account User (roles/billing.user) role on the central Billing Account resource and the Project Billing Manager (roles/resourcemanager.projectBillingManager) role on the project resource. This combination grants exact rights to link billing and view costs without granting infrastructural administrative rights or full billing account management.
Adım Adım Çözüm
Anahtar Kavram
Billing Account Project Linking IAM Requirements