We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 809eb2a commit 804a7f5Copy full SHA for 804a7f5
packages/plugin-aws-s3/src/types.ts
@@ -117,6 +117,9 @@ export type Options<
117
118
/** AWS endpoint, defaults to process.env.AWS_S3_ENDPOINT */
119
endpoint?: string;
120
+
121
+ /** AWS forcePathStyle, defauls to false */
122
+ forcePathStyle?: boolean;
123
};
124
125
packages/plugin-aws-s3/src/utils/s3.ts
@@ -20,6 +20,7 @@ export default class Client {
20
this.client = new S3Client({
21
region: options?.region ?? process.env.AWS_DEFAULT_REGION,
22
endpoint: options?.endpoint ?? process.env.AWS_S3_ENDPOINT,
23
+ forcePathStyle: options?.forcePathStyle ?? false,
24
credentials: {
25
accessKeyId: options?.accessKeyId ?? process.env.AWS_ACCESS_KEY_ID,
26
secretAccessKey: options?.secretAccessKey ?? process.env.AWS_SECRET_ACCESS_KEY,
0 commit comments