does gcp signed url work with google pub/sub?

152 Views Asked by At

In my application design, there are many clients who push events to a google pub/sub topic. It is not good to have service account for each client. Therefore, I was looking for a way where clients can push events to pub/sub without having service account. I found signed url. But looks like it is built only for cloud storage. How can I achieve the same signed url feature to push event to pub/sub?

1

There are 1 best solutions below

0
John Hanley On

Most Google Cloud Services use OAuth for authorization. Pub/Sub does not support Signed URLs.

Signed URLs are designed to be used by web browsers to access objects stored in Cloud Storage. The format of Signed URLs is HTTP centric (HTTP Method, Content-Type, etc.).