googleapis / googleapis/google-cloud-java

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

Open
#12,614 2 comments 5 reactions 0 assignees View on GitHub
type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.