Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 54dd42a

Browse files
committed
mask local aws creds when using temporary s3 token
1 parent 256b8e4 commit 54dd42a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jobs/artifactsGet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function artifactsGet(params, cb) {
9898
console.log(err.error);
9999
return cb(err);
100100
}
101-
AWS.config.update({
101+
AWS.config = new AWS.Config({
102102
accessKeyId: data.body.Credentials.AccessKeyId,
103103
secretAccessKey: data.body.Credentials.SecretAccessKey,
104104
sessionToken: data.body.Credentials.SessionToken,

0 commit comments

Comments
 (0)