The azureblob backend (backend-azureblob) implements Microsoft Azure Blob Storage REST API 2023-11-03 cleanly in Rust without heavy Azure SDK dependencies. It supports SharedKey signing, SAS URLs, sovereign cloud endpoints (such as Azure China), anonymous public containers, and local Azurite testing.
Setup Recipes#
rship auth azureblob az \
--account myaccount \
--container backups \
--access-tier Cool \
--key "<BASE64_STORAGE_ACCOUNT_KEY>"
rship about az:Flags Reference (rship auth azureblob)#
| Flag | Default | Description |
|---|---|---|
<REMOTE> | — | Logical remote name (e.g. az, az-backups) |
--account | Conditional | Storage account name (optional with --sas-url or --use-emulator) |
--container | Optional | Default blob container name |
--prefix | Empty | Virtual directory prefix inside the container |
--key | None | Base64 SharedKey secret |
--sas-url | None | SAS query token (?sv=...) or full account SAS URL |
--endpoint | blob.core.windows.net | Custom base URL for Azure China, Azure Gov, or mock servers |
--access-tier | Default | Hot, Cool, Cold, or Archive |
--use-emulator | false | Configure standard Azurite devstoreaccount1 at 127.0.0.1:10000 |
--anonymous | false | Access public containers without credentials |
Protocol Internals#
- Parallel Block Blob resume: Objects
<= 16 MiBupload in a singlePutBlob; larger blobs upload parallel8 MiBblocks (256 KiBmin to100 MiBmax per block, up to50,000blocks per blob). After interruption,GetBlockListinspects uncommitted blocks and skips already-uploaded parts before callingPutBlockList. - Integrity & server-side copy: Validates
Content-MD5end-to-end and usesx-ms-copy-sourcefor server-side intra-account copies. - Range reads: Full HTTP
Rangesupport forrship catand seekable encrypted vaults (cryptoverazureblob).