googleapis / googleapis/google-cloud-java

[google-auth-library-java] Add DefaultAwsSecurityCredentialsSupplier supporting AWS default credentials chain

オープン
#12,572 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

**Is your feature request related to a problem? Please describe.**
The current [InternalAwsSecurityCredentialsSupplier](https://github.com/googleapis/google-auth-library-java/blob/v1.23.0/oauth2_http/java/com/google/auth/oauth2/InternalAwsSecurityCredentialsSupplier.java#L52-L55) does not support all AWS authentication methods and depends on an AWSCredentialSource. In many cases, it would be useful to have a built-in implementation that leverages the AWS Default Credentials provider chain.

**Describe the solution you'd like**
A full implementation, similar to the one shown in [this sample](https://github.com/googleapis/google-auth-library-java/blob/73e9e448dfc48de783ee0740c288853de51ac964/samples/snippets/src/main/java/CustomCredentialSupplierAwsWorkload.java#L110), could be added as a separate class (e.g., DefaultAwsSecurityCredentialsSupplier) that uses the default AWS credential resolution logic.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。