OptionalregionAWS region, e.g. 'us-east-1'.
OptionalcredentialsStatic credentials. Omit to fall back to the default AWS credential provider chain.
OptionalendpointOverride the service endpoint, e.g. 'http://localhost:9000' for a MinIO / LocalStack S3-compatible server. When set, region and credentials can be dummy values for servers that don't validate them.
OptionalforceUse path-style bucket addressing (endpoint/bucket/key) instead of
virtual-hosted-style (bucket.endpoint/key). Usually required for
MinIO / LocalStack and other S3-compatible servers.
OptionalclientA pre-built S3Client (or compatible object). When provided,
connect() uses it directly and does NOT require the SDK — this is how
tests inject a mock client, and how callers can supply a custom-configured
client. When omitted, connect() builds a real S3Client from the
options above.
Connection options for
S3Store.