googleapis / googleapis/google-cloud-java

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

Aperta
#12,614 2 commenti 5 reazioni 0 assegnatari Vedi su GitHub
type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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/)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.