Skip to content

apps/api/src/adapters/storage/AzureBlobStorageAdapter.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

AzureBlobStorageAdapter — active StorageProvider implementation (ADR 0024). This is the only file in the codebase permitted to import @azure/storage-blob or @azure/identity for storage purposes. The boundary is enforced by eslint-plugin-import/no-restricted-paths once the rule is configured. Signed URLs are produced via Shared Access Signatures (SAS). The current implementation uses an account key sourced from the AZURE_STORAGE_ACCOUNT_KEY environment variable for SAS signing. A future revision will move to user-delegation SAS backed by DefaultAzureCredential to remove the shared key. /

Exports ​

  • export class AzureBlobStorageAdapter

Imports ​

  • ./StorageProvider
  • @azure/identity
  • node:stream

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.