hardgcloud

Make all objects in a Cloud Storage bucket publicly readable

command

gcloud storage buckets add-iam-policy-binding gs://BUCKET --member allUsers --role roles/storage.objectViewer

also accepted

gcloud storage buckets add-iam-policy-binding

Test your recall — not just your reading.

Practice with interactive quiz →