google-iam

How to generate a Blob signed url in Google Cloud Run?

How to generate a Blob signed url in Google Cloud Run? Question: Under Google Cloud Run, you can select which service account your container is running. Using the default compute service account fails to generate a signed url. The work around listed here works on Google Cloud Compute — if you allow all the scopes …

Total answers: 6

How to get a GCP Bearer token programmatically with python

How to get a GCP Bearer token programmatically with python Question: gcloud auth print-access-token gives me a Bearer token that I can use later on; however, this is a shell command. How would I obtain one programmatically via the Google Cloud Python API? I see a prior example using oauth2client, but oauth2client is now deprecated. …

Total answers: 8