feat: add Azure Blob Storage backend support - #22
Merged
richardartoul merged 1 commit intoAug 13, 2026
Conversation
GavinPJK
force-pushed
the
feat/azure-blob
branch
from
July 20, 2026 08:10
ead10e6 to
577b2f5
Compare
Contributor
Author
|
@richardartoul just wondering if you are available to assess this? |
Owner
|
thanks @GavinPJK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
azblobbackend type, using the Azure SDK for GoAZBLOB_,AZURE_) and flags (azblob-containerandazblob-prefix)integrationtests/integration_azblob_test.goexamples/github_actions_azblob.ymlContext
This PR adds Azure Blob Storage (
azblob) as a backend option, implemented in a similar way to GCS and S3 (#2).Authentication
The client supports three auth methods, attempted in the recommended order-of-preference - Entra ID/SAS Token are both tried before any shared connection strings
Choice of Client
Streaming methods from Azure SDK's high-level
azblob.Clientare used here:UploadStreamtakes anyio.Readerand doesn't need the total size up-frontUploadBuffer/UploadFile) require the whole object as an in-memory[]byteor a seekable*os.FilePerformance
Azure's closest analogue to S3OZ is a Premium Block Blob Storage account with in-region Local Redundant Storage, which the user accesses over a private endpoint (this has been added to the README)