A telecommunications enterprise is implementing Google Cloud Deploy to automate release management for stateless customer portal services on Cloud Run. The security governance policy dictates that deployment automation must strictly adhere to least-privilege principles: release engineers must be allowed to create releases and approve promotions between staging and production environments, but they must not hold direct administrative control over target Cloud Run resources or possess rights to manage IAM service account keys. Which pipeline configuration fulfills these security and delivery requirements?
- Configure Cloud Deploy delivery pipelines with dedicated execution service accounts holding the Cloud Deploy Job Runner role, and assign release engineers the Cloud Deploy Releaser role to approve promotions via the Cloud Deploy API.Cevap
- BGrant the primitive Owner role to the Cloud Deploy pipeline execution service account so that deployment operations do not fail when provisioning new Cloud Run revisions in production.
- CAssign the Service Account Admin role directly to release engineers so they can create and download key files locally to execute pipeline steps under the runner identity.
- DMigrate the stateless microservices from Cloud Run to a dedicated multi-zone GKE Enterprise cluster with an installed Service Mesh to manage release pipelines.
Cevap
Configure Cloud Deploy delivery pipelines with dedicated execution service accounts holding the Cloud Deploy Job Runner role, and assign release engineers the Cloud Deploy Releaser role to approve promotions via the Cloud Deploy API.
The correct strategy leverages Google Cloud Deploy's native IAM architecture. By granting release engineers the Cloud Deploy Releaser role (`roles/clouddeploy.releaser`), they can initiate releases and approve stage promotions through Cloud Deploy APIs without direct IAM access to the underlying Cloud Run instances. Cloud Deploy performs the actual rendering and deployment operations using a dedicated service account configured with the Cloud Deploy Job Runner role (`roles/clouddeploy.jobRunner`), satisfying strict governance and least-privilege requirements.
Adım Adım Çözüm
Anahtar Kavram
Least-Privilege Security Model in Continuous Deployment Pipelines
Tahmini Süre:1m 30s