Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

file syn from on premise to GCP bucket

Hi all,

j have to sync near real time an on premise directory vs gcp bucket, transferring new files from on prem dir to gcp bucket. I have set up  a java demon program that watch directory correctly.

Now i have to connect to GCP but i can't due to oraganization policy it isn't possible to create and download service account key credential.

How i can connect to GCP. I'm able to this with a token released with 

gcloud auth application-default print-access-token and then j have impersonficated the service account,

but token expire. It's a demon so i need something that is perpetual.

 

Thx again

  

0 1 277