talkiq / gcloud-aio

(Asyncio OR Threadsafe) Google Cloud Client Library for Python
https://talkiq.github.io/gcloud-aio
270 stars 89 forks source link

fix(storage): Restore option to sign blob urls by using the signBlob endpoint of the IAM API #671

Closed fbalboaDialpad closed 7 months ago

fbalboaDialpad commented 7 months ago

Summary

This PR aims to solve the issues explained in https://github.com/talkiq/gcloud-aio/pull/323#issuecomment-1900605859. To summarize, this PR re-adds support for using the IAM API to sign blobs in case there is no service account private key available locally.

fbalboaDialpad commented 7 months ago

@eddiedialpad Would you be able to provide some guidance on how to test this?

fbalboaDialpad commented 7 months ago

Tested the implementation and after fixing 2 bugs it's now working for us