feat(storage): add Azure Blob Storage backend - #1263
Merged
Conversation
Adds @adobe/helix-shared-storage-azure, an AbstractStorageBackend implementation over @azure/storage-blob, mirroring the plug-in shape of helix-shared-storage-s3 (StorageAzure subclass + one-line import swap, HLX_AZURE_STORAGE_CONNECTION_STRING / HLX_AZURE_STORAGE_ACCOUNT_NAME + HLX_AZURE_STORAGE_ACCOUNT_KEY env-driven default factory). Also handles two migration quirks seen when moving content from S3 to Azure: falling back to a content_encoding metadata property when the native Content-Encoding header is empty, and transparently substituting `-`/`_` in metadata keys since Azure metadata names can't contain `-`.
stefan-guggisberg
approved these changes
Sep 4, 2026
Contributor
Author
|
🎉 This PR is included in version @adobe/helix-shared-storage-azure-v1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
@adobe/helix-shared-storage-azure, aStorageBackendimplementation over@azure/storage-blob, mirroringhelix-shared-storage-s3's plug-in shape (StorageAzuresubclass, one-line import swap, env-driven defaultbackendFactory).HLX_AZURE_STORAGE_CONNECTION_STRING, falling back toHLX_AZURE_STORAGE_ACCOUNT_NAME+HLX_AZURE_STORAGE_ACCOUNT_KEY.content_encodingcustom metadata property when the nativeContent-Encodingheader is empty, and transparently substitutes-/_in metadata keys (Azure metadata names can't contain-).Test plan
npm testpasses across all 18 workspace packages (including the new one, with 100% line/branch/statement coverage per.nycrc.json)npm run lintpasses across all workspace packages-/_metadata key round-trip andcontent_encodingfallback against nock-mocked Azure Blob REST responses🤖 Generated with Claude Code