googleapis / googleapis/google-cloud-java

[java-bigquery] RemoteBigQueryHelper possibility to provide own Credentials

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

Descrizione

**Is your feature request related to a problem? Please describe.**
Currently, while using `RemoteBigQueryHelper`, you can only use `keyStream – input stream for a JSON key` as credentials for storage. I want to provide custom `com.google.auth.Credentials` because of how our internal systems manage access to Google Cloud.

**Describe the solution you'd like**
I want to add a method to `RemoteBigQueryHelper` that would enable providing the `com.google.auth.Credentials`.
```
public static RemoteBigQueryHelper create(String projectId, Credentials credentials)
```

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.