googleapis / googleapis/google-cloud-java

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

Abierto
#12,614 2 comentarios 5 reacciones 0 asignados Ver en GitHub
type: feature request
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.