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

Update googleauth dependancy to support AWS Workload Identity Federation #513

Open
DValentiev opened this issue Feb 20, 2024 · 1 comment

Comments

@DValentiev
Copy link

While trying to use external_account credentials with AWS I am getting this.

2024-02-20 07:13:53 +0000 [warn]: #0 got unrecoverable error in primary and no secondary error_class=NoMethodError error="undefined method `expired?' for #<Google::Auth::ExternalAccount::AwsCredentials:0x0000ffffa7e52a48>"

Right now googleauth == 1.3.0, AWS WIF was introduced in 1.5.0.
Please update.

@DValentiev
Copy link
Author

I believe @client should be handling token refresh.
After updating googleauth dependency and removing renewal logic from out_google_cloud.rb:1853 the plugin worked for me:

def api_client @client end

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

1 participant