Google Cloud in Production · Foundations: Projects, Identity and Guardrails

The Service Account Key in CI

A service account key stored as a CI secret leaked and was used to mine cryptocurrency. Replace keys with Workload Identity Federation and block key creation by organisation policy.

Members can save this page, take notes and track progress. See membership · Sign in

Scenario

Example team: deployments run from a CI system. Years ago someone created a service account deployer, gave it the Editor role on the production project, downloaded a JSON key and stored it as a CI secret. The key was also copied to two engineers' laptops "for debugging".

Premium course

Keep reading with a membership

The rest of this lesson, its practice questions and the whole Google Cloud in Production course are part of the membership.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake