Google Cloud Storage (GCS)
:::info Required extra
This connection requires the gcs and duckdb extras. See Installation.
:::
The Amazon S3 integration also works with files on Google Cloud Storage through its interoperability. Use https://storage.googleapis.com as the endpoint URL and the s3:// scheme for the location.
Server
servers:
- server: production
type: s3
endpointUrl: https://storage.googleapis.com
location: s3://bucket-name/path/*/*.json # use s3:// instead of gs://
format: json
delimiter: new_line # new_line, array, or none
Environment variables
| Variable | Example | Description |
|---|---|---|
DATACONTRACT_S3_ACCESS_KEY_ID | GOOG1EZZZ... | The GCS HMAC Key ID |
DATACONTRACT_S3_SECRET_ACCESS_KEY | PDWWpb... | The GCS HMAC Key secret |