hardgcloud
Allow anyone to publish messages to a Pub/Sub topic without authentication
command
gcloud pubsub topics add-iam-policy-binding TOPIC --member allUsers --role roles/pubsub.publisheralso accepted
gcloud pubsub topics add-iam-policy-bindingcommand
gcloud pubsub topics add-iam-policy-binding TOPIC --member allUsers --role roles/pubsub.publisheralso accepted
gcloud pubsub topics add-iam-policy-bindingPart of the Google Cloud CLI (gcloud) — Pub/Sub category.
| Flag | Purpose |
|---|---|
--member | Boolean flag |
--role | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →