googleapis / googleapis/google-cloud-java

[java-bigquery] RemoteBigQueryHelper possibility to provide own Credentials

Đang mở
#12,168 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: bigquery priority: p2 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

**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)
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.