Azure Blob storage pools
Create a private block-blob container in the storage account and grant Arka read, write, list, and delete access. Arka stores immutable blobs under <prefix>/blobs/<shard>/<shard>/<sha256> (with generation suffixes for isolated GC) and stages resumable multi-part uploads under <prefix>/uploads/. The connectivity test writes and removes a small object under .arka-health/.
# Supply ARKA_AZURE_ACCOUNT_KEY through the deployment secret mechanism.
arkactl pools create artifacts --driver azure_blob --auth-mode shared_key \
--account-name mystorageaccount --container arka-blobs --prefix production
arkactl pools test "$POOL_ID"shared_keyis the default authentication mode. Usepools update "$POOL_ID" --replace-azure-keyto read a replacement fromARKA_AZURE_ACCOUNT_KEY.sasreadsARKA_AZURE_SAS_TOKENon create. Rotate it with--replace-azure-sas, and include--auth-mode saswhen switching modes. Supply a container SAS with read, write, create, list, and delete access (rwdcl) so chunked upload staging and orphan generation cleanup work cleanly.default_credentialuses Azure's default credential chain. Assign the workload identity an appropriate Blob Data role (such as Storage Blob Data Contributor) for the container.--endpointaccepts the Azure account service URL, including the account path for Azurite. Cleartext HTTP is limited to loopback Azurite with shared-key or SAS authentication.
The administration API uses driver: "azure_blob" and accepts accountName, container, prefix, endpoint, authMode, accountKey and sasToken. The versioned credential envelope protects the stored pool configuration. Read responses include hasAccountKey and hasSasToken when present, along with explicit capabilities:
capabilities.uploadStaging:true— Azure Blob pools support cross-replica OCI chunked upload staging, checksum-verified commit, and quiet-period cleanup of expired upload sessions.capabilities.generationCleanup:true— paginated generation enumeration sweeps unreferenced blob generations while skipping HNS directory markers and protecting active write-intent leases.capabilities.presignedDownload:trueforshared_keypools when Arka's presigned redirect policy is enabled;falseforsasanddefault_credentialpools (downloads stay on the Arka data path).
When Arka's presigned redirect policy permits it, a shared-key pool can issue a short-lived, read-only SAS for an individual blob. Use an HTTPS endpoint clients can reach before enabling redirects. Range requests are served through Arka.
For an initial default pool, set ARKA_STORAGE_DRIVER=azure_blob and set ARKA_AZURE_ACCOUNT_NAME, ARKA_AZURE_CONTAINER, and the settings for the chosen authentication mode. ARKA_AZURE_AUTH_MODE, ARKA_AZURE_ENDPOINT and ARKA_AZURE_PREFIX are optional.