GCS Access To Bucket in Different Project

Hi folks - does anyone know if it's possible to use the GCS connector to access a bucket outside of the GCP project where the service account was created? This is a completely supported pattern in GCP, but the connector seems to assume the service account only has access to the buckets in the project where it resides

For example, I have a GCP project "ProjA" with Retool and a service account for the GCS connector. I have given the service account access to a bucket in "ProjB", but there doesn't seem to be a way to make ReTool aware that it has access to the bucket in ProjB.

  • Goal: I want to access the contents of a GCS bucket in a project outside of where the service account is

  • Steps: I've tried specifying the project name as a prefix on the bucket name field

Hello @clong0!

That you for bringing this to our attention. I tried to replicate the behavior and the GSC resource does have a limited scope in only buckets in the project where the service account was created.

I just made a feature request for our team to see if there is an API endpoint to access all the projects/buckets a given service account has access to so users can run queries on any of them.

Will keep you updated on any news I hear from the team!