Skip to content

Commit 2b6e200

Browse files
authored
Merge pull request #3 from simonihmig/sig-4
Use signature version 4 for authorization
2 parents a6dc113 + bc3ce3b commit 2b6e200

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const AWS = require('aws-sdk');
55
const DEFAULT_POLL_TIME = 3 * 1000;
66

77
const s3 = new AWS.S3({
8-
apiVersion: '2006-03-01'
8+
apiVersion: '2006-03-01',
9+
signatureVersion: 'v4'
910
});
1011

1112
class S3Notifier {

0 commit comments

Comments
 (0)