-
Notifications
You must be signed in to change notification settings - Fork 146
Dev: Connect to GCP storage
Alex Seaton edited this page May 16, 2025
·
3 revisions
We support GCP access using their S3-compatible API.
We currently only support authentication using HMAC keys.
To try this yourself, create a GCP storage bucket and replace bucket
with it.
Create a service user with HMAC credentials. Use those HMAC credentials as secret and key below.
from arcticdb import Arctic
secret = "<REDACTED>"
key = "<REDACTED>"
uri = "https://storage.googleapis.com"
bucket = "arcticdb-alex-seaton-bucket-1"
ac = Arctic(f"s3://{uri}:{bucket}?access={key}&secret={secret}")
ac.list_libraries()
ac.create_library("test")
ArcticDB Wiki