googleapis / googleapis/google-cloud-java
[java-storage] RemoteStorageHelper possibility to provide own Credentials
Offen
#12,646
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @JesseLovelace
Auf GitHub ansehen
api: storage
type: feature request
- Vorherrschende Sprache
- Java
- Sterne
- 2.1k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 154
Beschreibung
**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)
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.