Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service account support #61

Open
alexkuang opened this issue Aug 19, 2019 · 2 comments
Open

service account support #61

alexkuang opened this issue Aug 19, 2019 · 2 comments

Comments

@alexkuang
Copy link

Hi,

Are there any plans to support access via service accounts in this library? https://developers.google.com/api-client-library/java/google-api-java-client/oauth2#service_accounts

I looked around in the code a bit and didn't see anything for this use case. If it is supported, some pointers to docs or example code would be greatly appreciated.

Thanks,
Alex

@BenFradet
Copy link
Owner

Hey, no it's not supported at the moment.

Since the library uses the REST API directly and not any of Google's SDK, I'm not sure it's possible.

@alexkuang
Copy link
Author

OK, thanks. The json file referenced in the google doc seems to contain a plain old private key so I wonder if their SDK just generates creds or exchanges it for another set. Might look into it if I have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants