Grant the export job what it needs and nothing else
- Certification
- ACE
- Format
- Structured configuration
- Difficulty
- medium
- Estimated time
- 12 min
- Automated checks
- 6
SCENARIO
A nightly export job was given project Editor access during a migration, and its bucket was made public so the analytics team could read the exports. An access review requires the job and analysts to keep working without broad or anonymous access.
TASK
Repair bucket-policy.json for gs://acme-daily-exports.
- Permit
export-writer@acme-prod.iam.gserviceaccount.comto create objects andanalytics@acme.example.comto read and list them, with each principal identified by type. - Grant no other capabilities or public access.