googleapis / googleapis/google-cloud-java
[java-storage] RemoteStorageHelper possibility to provide own Credentials
Open
api: storage
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 `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)
```
Contributor guide
Assessment
This issue has not been assessed yet.