Overview
@saflib/vendors-azure implements ObjectStore against Azure Blob Storage.
What this package provides
AzureObjectStore— upload, list, read, and delete with path traversal checks; supports access tier and container ACL optionscreateAzureObjectStore({ containerName, tier, accessLevel })— factory; returnsTestObjectStorewhenNODE_ENV=test- Blob helpers —
uploadFile,deleteBlob,upsertContainerfor direct SDK operations outside theObjectStoreinterface
Integration
Wire createAzureObjectStore(...) in production service bootstrap and pass the instance through service context.
Environment (see env.schema.json):
AZURE_HOT_BLOB_STORAGE_URL— account URL for Hot tierAZURE_COOL_BLOB_STORAGE_URL— account URL for Cool tierAZURE_COLD_BLOB_STORAGE_URL— account URL for Cold tier
The shared blob client uses Azure credential chain (managed identity, env vars, etc.) via @azure/identity.
Local development typically uses DiskObjectStore. GCS alternative: @saflib/vendors-gcs.