git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Google Service account for google-drive component


Hi All,

There is a backend service riding Camel that supposed to upload files to the Google Drive. All data is generated by the service itself, so I want to use the Google Service Account for the Google authentication/authorization.

I created the service account, generated json key (as described here https://cloud.google.com/iam/docs/creating-managing-service-account-keys) and have no clue how to feed it to the GoogleDriveConfiguration object:

https://github.com/apache/camel/blob/master/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/GoogleDriveConfiguration.java

because it doesn't' seem to me it can accept the JSON key. I will appreciate if someone can point me to the right direction.


Cheers,
Dmitry