Interface: S3StorageConfig
Defined in: server/storage/config.ts:12
Resolved, validated configuration for the S3 storage adapter.
Properties
bucket
bucket: string;Defined in: server/storage/config.ts:14
Target bucket for every object this adapter reads/writes.
credentials?
optional credentials?: {
accessKeyId: string;
secretAccessKey: string;
};Defined in: server/storage/config.ts:34
Static credentials. Omit in production to let the AWS SDK resolve
credentials from the default provider chain (IAM role / instance profile /
env). Typically only set for local MinIO (minioadmin / minioadmin).
accessKeyId
accessKeyId: string;secretAccessKey
secretAccessKey: string;downloadUrlTtlSeconds
downloadUrlTtlSeconds: number;Defined in: server/storage/config.ts:38
Presigned download (GET) URL lifetime, in seconds. Default 900 (15 min).
endpoint?
optional endpoint?: string;Defined in: server/storage/config.ts:22
Custom S3 endpoint for local development against MinIO (or another S3-compatible store). When set, path-style addressing is forced; all fail-closed configuration checks still apply.
forcePathStyle?
optional forcePathStyle?: boolean;Defined in: server/storage/config.ts:28
Force path-style URLs (https://host/bucket/key) instead of
virtual-hosted (https://bucket.host/key). Required by MinIO. Defaults to
true when an endpoint is set, false otherwise.
maxUploadBytes
maxUploadBytes: number;Defined in: server/storage/config.ts:40
Maximum object size accepted by the signed POST policy. Default 25 MiB.
region
region: string;Defined in: server/storage/config.ts:16
AWS region. Required for real S3; ignored by most MinIO setups.
uploadUrlTtlSeconds
uploadUrlTtlSeconds: number;Defined in: server/storage/config.ts:36
Presigned upload (POST) lifetime, in seconds. Default 900 (15 min).