Google Storage

Connect & Ingest data from / into a Google Cloud Storage Bucket

Sling CLI Setup

The following credentials keys are accepted:

  • bucket (required)

  • key_file (required) -> This is the account credential JSON file.

Here are examples of setting a connection named GOOGLE_STORAGE. We must provide the type=gs property:

$ sling conns set GOOGLE_STORAGE type=gs bucket=<bucket> key_file=/path/to/keyfile.json

Environment Variable

In JSON/YAML format:

export GOOGLE_STORAGE='{type: gs, bucket: sling-bucket, key_file: /path/to/keyfile.json}'

Sling Env File YAML

See here to learn more about the sling env.yaml file.

connections:
  GOOGLE_STORAGE:
    type: gs
    bucket: <bucket>
    key_file: /path/to/keyfile.json

If you are facing issues connecting, please reach out to us at support@slingdata.io, on discord or open a Github Issue here.

Last updated