Security with Google Cloud is mostly correct, boring defaults applied consistently. Here is the short list that removes most of the risk.
Safe defaults
- Enable org policies, VPC Service Controls and audit logs
- Scan IaC and avoid primitive roles
Wire it into the pipeline
Auth from GitHub Actions via Workload Identity Federation.
- uses: google-github-actions/auth@v2
with:
workload_identity_provider: projects/123/locations/global/workloadIdentityPools/gh/providers/gh
service_account: ci@acme.iam.gserviceaccount.comReinforcing habits
- Use Workload Identity Federation - no exported SA keys
- Grant least-privilege predefined roles per service account
- Enforce uniform bucket-level access and org policies
Want senior help putting Google Cloud to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.