BLOB(1)
π BLOB(1) β the group chat rundown π
okay bestie, so this is the manual for blob, and it lives in the User Commands corner of your friendly neighbourhood man pages. it's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
blob β the APT method helper for Azure Blob Storage repositories. yes she's a helper. yes she's booked and busy. periodt π
πΈ SYNOPSIS πΈ
blob
that's it. that's the whole synopsis. no flags. no args. she simply is π¦
π DESCRIPTION π
so blob is the APT method helper that ships with apt-transport-blob. the moment you install it, APT can go grab repository metadata and actual packages from Azure Blob Storage URLs β the ones that use the blob:// scheme. iconic behaviour, honestly π₯
she implements the APT method protocol, which means she's normally called by APT, not by you, not by me, not by anyone just vibing in a terminal. she's not a "run me directly" kind of girl. she's backstage crew with main character energy π
π URL FORMAT π
APT source entries are allowed to use URLs shaped like this:
blob://ACCOUNT.blob.core.windows.net/CONTAINER/PATH
what does our girl do with that? she translates it into HTTPS requests against the same host and path, and she does it using Azure Storage bearer-token authentication. glow up in one step β¨
π AUTHENTICATION π
first things first: whichever Azure credential you pick has to actually be authorized to read the blob container. for example, with the Storage Blob Data Reader role. no role, no reads, no package, no you. soz π
the credentials get tried in this exact order:
AZURE_STORAGE_BEARER_TOKENβ a bearer token for Azure Storage. you can cop one with:
az account get-access-token --output tsv --query accessToken --resource https://storage.azure.com
- Workload identity β set
AZURE_TENANT_ID,AZURE_CLIENT_ID, andAZURE_FEDERATED_TOKEN_FILE. - Client secret β set
AZURE_TENANT_ID,AZURE_CLIENT_ID, andAZURE_CLIENT_SECRET. - Azure CLI β uses an existing Azure CLI login session (like, say, after you've run
az login). casual π - Managed identity β on Azure compute, the helper can grab a token from the Instance Metadata Service. this one is tried last because it needs a network request, and that request can time out when you're outside Azure. so it's the "if literally everything else failed" option π
π§ ENVIRONMENT π§
these are the env vars she's obsessed with:
AZURE_AUTHORITY_HOSTβ overrides the Azure Active Directory authority host used for workload identity and client-secret authentication.AZURE_STORAGE_BEARER_TOKENβ bearer token used directly for Azure Storage requests.AZURE_TENANT_IDβ tenant ID used for workload identity and client-secret authentication.AZURE_CLIENT_IDβ client ID used for workload identity and client-secret authentication.AZURE_FEDERATED_TOKEN_FILEβ path to a federated identity token file used for workload identity.AZURE_CLIENT_SECRETβ client secret used for client-secret authentication.
love that for her πΈ
π FILES π
/usr/lib/apt/methods/blobβ the APT method helper installed by this package. yes, that's her. that's the girl./var/log/apt-transport-blob.logβ debug log written by the helper. when things go sideways, this is where the receipts live π
π SEE ALSO π
apt(8), sources.list(5), az(1)
and that's the whole page, bestie β no notes, 10/10, would read again π
this little masterpiece is brought to you by apt-transport-blob, dated June 2026, and it is very much BLOB(1) coded πβ¨π
π¦ where this page comes from
- ubuntu stonking: apt-transport-blob 1.2.2-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms