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


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03101.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0007363576{main}( ).../msg03101.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03101.html on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0007363576{main}( ).../msg03101.html:0