An enterprise DevOps team needs to set up a new environment within their Google Cloud resource hierarchy. The team requires authorization to create new projects exclusively under a designated folder named 'Mobile-Backend' and link those projects to the company's central Billing Account. Following the principle of least privilege, which TWO IAM roles must be granted to the DevOps team principal?
- Project Creator (roles/resourcemanager.projectCreator) on the 'Mobile-Backend' folderCevap
- Billing Account User (roles/billing.user) on the central Billing AccountCevap
- CBilling Account Administrator (roles/billing.admin) on the Organization node
- DFolder Admin (roles/resourcemanager.folderAdmin) on the Organization node
- EProject IAM Admin (roles/resourcemanager.projectIamAdmin) on the 'Mobile-Backend' folder
Cevap
To allow creating projects in a specific folder and linking them to a central billing account under least privilege, the DevOps team must be granted the Project Creator role scoped to the 'Mobile-Backend' folder and the Billing Account User role on the target Billing Account.
Creating a project inside a specific folder requires the Project Creator role granted on that folder resource. Linking any project to a billing account requires the Billing Account User role granted directly on the target billing account resource. Together, these two roles achieve the goal using least privilege.
Adım Adım Çözüm
Anahtar Kavram
Least privilege IAM role delegation for Google Cloud project creation and billing account linking.
Tahmini Süre:2m 0s