Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / storage / S3DiskConfig

Interface: S3DiskConfig

Defined in: storage/types.ts:84

Properties

driver

driver: "s3"

Defined in: storage/types.ts:85


key

key: string

Defined in: storage/types.ts:86


secret

secret: string

Defined in: storage/types.ts:87


region

region: string

Defined in: storage/types.ts:88


bucket

bucket: string

Defined in: storage/types.ts:89


endpoint?

optional endpoint?: string

Defined in: storage/types.ts:91

Override endpoint for R2, MinIO, etc. E.g. 'https://.r2.cloudflarestorage.com'


url?

optional url?: string

Defined in: storage/types.ts:93

Custom public URL base (e.g. CDN or R2 public domain).


serve?

optional serve?: DiskServeConfig

Defined in: storage/types.ts:95

Expose this disk over HTTP, proxied through the app. Omit to keep it unreachable.