googleapis / googleapis/google-cloud-java

[google-auth-library-java] Allow AwsCredentials/ExternalAccountCredentials to take in customized environmentProvider

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

説明

**Is your feature request related to a problem? Please describe.**
I'm always frustrated when I want to use my own temporary (AWS) credentials to fetch jwt. The only way to pass in my own `environmentProvider` is through the System env right now. But I want to rotate the info inside `environmentProvider` over the time, setting System env is not a great choice.
`EnvironmentProvider` interface provided by the lib is package level so I could not implement my own and pass in.

**Describe the solution you'd like**
Expose `EnvironmentProvider` and allow me to pass in my own implementation of it to AwsCredentials/ExternalAccountCredentials.

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

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

評価

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

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

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