google-auth-library-ruby icon indicating copy to clipboard operation
google-auth-library-ruby copied to clipboard

Add full support for service account impersonation

Open quartzmo opened this issue 4 years ago • 5 comments

Regarding the support for service account impersonation that was discussed in #346 and that I added in #347, I noticed that googleapis/google-auth-library-java/pull/613 and golang/oauth2/pull/468 go beyond accepting a token obtained externally from projects.serviceAccounts.generateAccessToken and actually perform the RPC to obtain the token when provided with the appropriate service account credentials. Should this library do the same?

quartzmo avatar Nov 15 '21 23:11 quartzmo

@quartzmo do you plan to implement this feature?

konalegi avatar Aug 02 '24 15:08 konalegi

@quartzmo I've tried to implement service account impersonation with ADC, It worked locally, although I have no idea if I'm moving right direction, since not very familiar with all this kitchen. If you have a time could you please have a look and give suggestion where to move next. https://github.com/googleapis/google-auth-library-ruby/pull/485/files Thank you!

konalegi avatar Aug 02 '24 17:08 konalegi