payload-plugin-cloud-storage-s3

Community plugin to store uploads in Amazon S3 via hooks.

16 Mar 18, 2026

Overview

Stores file uploads in Amazon S3 using Payload lifecycle hooks. Uses beforeChange to upload files to S3 on document creation, afterDelete to remove files when documents are deleted, and afterRead to return the public S3 URL. Supports custom S3 endpoint configuration for compatibility with S3-compatible providers like MinIO and DigitalOcean Spaces.