How can I access an IAP protected resource using Python? More specifically I'd like to generate the Bearer
token needed in the Authorization
header to make calls to the IAP protected resource.
I have created a service account, given it "IAP-Secured Webapp User" permissions and have downloaded its JSON credentials to disk.