googleapis / googleapis/google-cloud-java

[java-storage] RemoteStorageHelper possibility to provide own Credentials

Aperta
#12,646 0 commenti 0 reazioni 1 assegnatario Rivendicata da @JesseLovelace Vedi su GitHub
api: storage type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.