Knowledge Hub Technologies Google Cloud Storage
GCS

Google Cloud Storage as an object storage source or target. One connection maps to one bucket. Reads and writes go through the GCS Hadoop connector; metadata browsing and Test Connection use the GCS JSON/REST API directly.

Connection Fields

Source: GcpConnectorPlugin.ts (connector type GCP_GCS).

FieldRequiredDefaultNotes
gcp_project_idYesThe GCP project the bucket lives in.
auth_methodYesSERVICE_ACCOUNT_KEY · WORKLOAD_IDENTITY · APPLICATION_DEFAULT. Recommended: WORKLOAD_IDENTITY.
service_account_emailFor WORKLOAD_IDENTITYThe service account whose identity is impersonated via the compute metadata server.
gcp_regionNoDefault region, used for regional operations.
storage_bucketYesOne GCS connection maps to exactly one bucket.
storage_base_pathNoOptional path prefix inside the bucket, applied to every read/write on this connection.
service_account_key_json (secret)For SERVICE_ACCOUNT_KEYFull service account key JSON. Stored encrypted.

Authentication Methods

MethodBehaviour
SERVICE_ACCOUNT_KEYJWT-bearer token exchange against oauth2.googleapis.com/token using the stored key JSON.
WORKLOAD_IDENTITYResolves a token from the GCE/GKE/Dataproc metadata server. Only works when the DataKnits backend itself is running on GCP compute — fails fast with a clear error otherwise.
APPLICATION_DEFAULTReads the operator's own gcloud auth application-default login session on the backend host. Intended for local or on-premises backend deployments, not production.

Required IAM Roles

Grant the connection's identity one of the following on the target bucket:

Test Connection Behaviour

Test Connection performs a real LIST gs://{bucket}/ call. On failure it reports the actual HTTP status (401/403) along with remediation text naming the missing IAM role — it is not a mocked or hardcoded pass.

Spark Read/Write Configuration

Generated PySpark jobs read and write GCS through the GCS Hadoop connector (gcs-connector-hadoop3-shaded.jar):

Known Limitations