googleapis / googleapis/google-cloud-java

[google-auth-library-java] Implement .createDelegated() for ComputeCredential and ImpersonatedCredentials

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

説明

FR to implement [createDelegated()]](https://googleapis.dev/java/google-auth-library/latest/com/google/auth/oauth2/ServiceAccountCredentials.html#createDelegated-java.lang.String-) mechansm for other credential types.

Currently, only `ServiceAccount` credentials implements that api that allows domain-wide delegation.

This FR is to allow the other credentials to also implement it via its `ServiceAccoutnSigner` interface

- `ComputeEngineCredential.createDelegated()`
- `ImpersonatedCredentials.createDelegated()`

As an exmaple implementation, In the following article, i've used the signer interface of these credential types to provide the equivalent `createDelegated()` feature

- [Easy GSuites Domain-Wide Delegation (DwD) in Java](https://blog.salrashid.dev/articles/2020/dwd_java/)

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

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

評価

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

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

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