Google Storage
Connect & Ingest data from / into a Google Cloud Storage Bucket
Setup
The following credentials keys are accepted:
bucket(required)key_file(required) -> This is the account credential JSON file.
Using sling conns
sling connsHere 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.jsonEnvironment 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.jsonIf you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?