googleapis / googleapis/google-cloud-java
[java-storage] RemoteStorageHelper possibility to provide own Credentials
未关闭
api: storage
type: feature request
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 157
描述
**Is your feature request related to a problem? Please describe.**
Currently, while using `RemoteStorageHelper`, 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 `RemoteStorageHelper` that would enable providing the `com.google.auth.Credentials`.
```
public static RemoteStorageHelper create(String projectId, Credentials credentials)
```
贡献指南
评估
这个 Issue 还没有评估数据。