Hey guys, I’m trying to query some parquet files o...
# general
z
Hey guys, I’m trying to query some parquet files on gcs and ran into an auth issue. Code snippet
Copy code
import daft
from <http://daft.io|daft.io> import IOConfig, GCSConfig
import os

io_config = IOConfig(gcs=GCSConfig(credentials=os.getenv(“GOOGLE_APPLICATION_CREDENTIALS”))
df = daft.read_parquet(“<gs://bucket/prefix>”, io_config=io_config)
Error
Copy code
DaftCoreException: DaftError::External Unable to load Credentials for store: gcs
Details:
UnsupportedAccountType(“external_account”)
I was going to make an issue on the GitHub, but wanted to check here first. It looks like daft is just missing a supported credentials type
👀 1
Looks like this is related to “Workload Identity Federation” https://cloud.google.com/iam/docs/workload-identity-federation-with-other-clouds
j
Oof haven’t heard the term Workload Identity Federation in a while 😛 I’m sure this is just a weakness in the way we handle the GCP auth services. We’ll take a closer look
😎 1