connect pod from k8s to google storage

Viewed 156

I need to connect Camel to GCP storage (bucket) with the Camel google-storage component. Camel running in k8s (GCP).

The component accepts a key file. this works locally when provided a key file.

For security reasons, I don't want to include the key file in the POD but somehow enable the POD to access GCP services.

What are my options?

2 Answers

I'm in a similar situation (except I would like to use google pubsub).

Inspecting relevant code suggest to me that using workload identity to authz to google service using camel is not possible ATM.

Look at relevant code (line 170-188): it either uses the supplied key or no credentials at all.

Related