Skip to content

Commit 0756b8f

Browse files
committed
updating docs
1 parent 5806eae commit 0756b8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ import Uploader from 's3-batch-upload';
7070

7171
const files = await new Uploader({
7272
config: './config/configS3.json', // can also use environment variables
73+
config: { // or you can use a object
74+
accessKeyId: "__EMPTY__",
75+
secretAccessKey: "__EMPTY__",
76+
region: "us-east-1"
77+
},
7378
bucket: 'bucket-name',
7479
localPath: './files',
7580
remotePath: 'remote/path/in/bucket',

0 commit comments

Comments
 (0)