Skip to content

Commit 18efe5d

Browse files
committed
Fix aws-google credential resolver
Use STS::Client plugins instead of CredentialProviderChain directly.
1 parent 0b99ce5 commit 18efe5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exe/aws-google

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require 'aws/google'
77
require 'time'
88
require 'json'
99

10-
google = ::Aws::CredentialProviderChain.new.resolve
10+
google = ::Aws::STS::Client.new.config.credentials
1111
credentials = google.credentials
1212
output = {
1313
Version: 1,

0 commit comments

Comments
 (0)