google-cloud-storage: Cannot create signed url with ImpersonatedCredentials #5043
Labels
api: storage
Issues related to the Cloud Storage API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
a Storage client using ImpersonatedCredentials does not support creation of SignedURL.
In the sample below thatuses impersonated credentials,
the error is "Signing key was not provided and could not be derived"
one solution is to just implement
ServiceAccountSigner
inImpersonatedCredentials
Here is a working sample that successfully impersonates and produces a signed url:
https://gist.github.com/salrashid123/394f1dfee4d7b16049acc6cca772dd43
(see line 145)
The text was updated successfully, but these errors were encountered: