Skip to main content

Module object_store_factory

Module object_store_factory 

Source
Expand description

Object store factory — builds S3, GCS, Azure, or local backends from URL schemes. Factory for building ObjectStore instances from URL schemes.

Detects the cloud provider from the URL scheme (s3://, gs://, az://, file://) and constructs the appropriate backend. Cloud providers require their respective feature flags (aws, gcs, azure).

Credentials are resolved via from_env() (reads standard env vars like AWS_ACCESS_KEY_ID) with explicit overrides from the options map.

Enums§

ObjectStoreFactoryError
Errors from object store construction.

Functions§

build_object_store
Build an [ObjectStore] from a URL and optional configuration overrides.