googleapis / googleapis/google-cloud-java
[java-bigquery] RemoteBigQueryHelper possibility to provide own Credentials
Open
api: bigquery
priority: p2
type: feature request
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
**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)
```
Contributor guide
Assessment
This issue has not been assessed yet.