File storage
Store and retrieve application objects through explicit filesystem, S3, or R2 providers with validated keys, metadata, streaming bodies, and signed access.
Portable object storage · Signed download and upload access
Store portable Playstack objects and issue bounded signed URLs through an application-configured AWS SDK client.
Visit Amazon S3 ↗Store and retrieve application objects through explicit filesystem, S3, or R2 providers with validated keys, metadata, streaming bodies, and signed access.
Portable object storage · Signed download and upload access
@playstack/storage/s3 uses the optional AWS SDK peers for streaming object operations and Signature Version 4 download or upload URLs.
import { createStorage } from '@playstack/storage'
import { createS3StorageProvider } from '@playstack/storage/s3'
const storage = createStorage({
driver: createS3StorageProvider(
{ region: 'us-east-1' },
{ bucket: 'product-assets' },
),
})Signed operations declare an expiry and, for uploads, any content headers the caller must send exactly. Multipart uploads, bucket lifecycle, and other provider-specific operations remain available through storage.client rather than entering the portable contract.