You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using AWS lambda, and I'm trying to use this library to interact with some gsuite products. So naturally I want to split up different parts of my project as to embrace micro service architecture that comes with lambda. So here comes my problem, I want to have a Authenticator lambda that can return Authentication to other lambdas, however when using service_account_creds.with_subject(admin-email) it returns a google.oauth2.service_account.Credentialsobject. Now this is great however I'm not able to return this in my lambda, and my attempts at marshaling it myself have failed. So it'd be great if their was a feature to either Marshall the object, or like export it to Json or something like that.
Also if does already exist sorry, I was unable to find it anywhere.
The text was updated successfully, but these errors were encountered:
Jordan-Mesches
changed the title
I'm currently using AWS lambda, and I'm trying to use this library to interact with some gsuite products. So naturally I want to split up different parts of my project as to embrace micro service architecture that comes with lambda. So here comes my problem, I want to have a Authenticator lambda that can return Authentication to other lambdas, however when using service_account_creds.with_subject(admin-email) it returns a google.oauth2.service_account.Credentialsobject. Now this is great however I'm not able to return this in my lambda, and my attempts at marshaling it myself have failed. So it'd be great if their was a feature to either Marshall the object, or like export it to Json or something like that.
marshaling/json export feature?
Feb 8, 2021
I'm currently using AWS lambda, and I'm trying to use this library to interact with some gsuite products. So naturally I want to split up different parts of my project as to embrace micro service architecture that comes with lambda. So here comes my problem, I want to have a Authenticator lambda that can return Authentication to other lambdas, however when using
service_account_creds.with_subject(admin-email)
it returns agoogle.oauth2.service_account.Credentials
object. Now this is great however I'm not able to return this in my lambda, and my attempts at marshaling it myself have failed. So it'd be great if their was a feature to either Marshall the object, or like export it to Json or something like that.Also if does already exist sorry, I was unable to find it anywhere.
Originally posted by @Jordan-Mesches in googleapis/google-api-python-client#1178
The text was updated successfully, but these errors were encountered: