Certificate Storage
Component Detail
Infrastructure
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Supabase Storage bucket integration for secure hosting of digital certificate asset files (PDFs, images). Manages signed URL generation for secure download and digital presentation, with access control scoped to the certificate owner and authorized coordinators.
certificate-storage
Responsibilities
- Store and retrieve digital certificate asset files in Supabase Storage
- Generate signed URLs for secure time-limited download and presentation
- Enforce bucket-level access policies restricting certificate assets to owners and coordinators
- Handle file upload during certificate creation and renewal
Interfaces
uploadCertificateAsset(certificateId, file)
getSignedDownloadUrl(certificateId, expiresIn)
deleteCertificateAsset(certificateId)
getCertificateAssetPath(certificateId)
checkAssetExists(certificateId)
copyAssetOnRenewal(oldCertificateId, newCertificateId)