googleapis / googleapis/google-cloud-java
[google-auth-library-java] Implement .createDelegated() for ComputeCredential and ImpersonatedCredentials
- 主要言語
- 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 はまだ評価されていません。