Infrastructure low complexity Shared Component backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Infrastructure adapter that generates short-lived signed URLs for receipt images stored in the object storage layer. Used by the receipt preview widget to fetch images securely without exposing permanent storage paths. Handles URL generation, expiry, and access scoping per organization.

Feature: Expense Approval Queue

expense-receipt-storage-adapter

Responsibilities

  • Generate signed URLs for receipt image retrieval
  • Enforce per-organization access scoping on storage paths
  • Set appropriate URL expiry to limit exposure window
  • Abstract storage provider details from the approval service

Interfaces

getSignedUrl(storagePath, expirySeconds)
getReceiptUrl(receiptId)
validateAccessScope(orgId, storagePath)

Related Data Entities (1)

Data entities managed by this component