File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,18 +50,18 @@ module.exports = CoreObject.extend({
50
50
accessKeyId : accessKeyId ,
51
51
secretAccessKey : secretAccessKey ,
52
52
} ;
53
+
54
+ if ( sessionToken ) {
55
+ this . plugin . log ( 'Using AWS session token from config' , { verbose : true } ) ;
56
+ s3Options . credentials . sessionToken = sessionToken ;
57
+ }
53
58
}
54
59
55
60
if ( signatureVersion ) {
56
61
this . plugin . log ( 'Using signature version from config' , { verbose : true } ) ;
57
62
s3Options . signatureVersion = signatureVersion ;
58
63
}
59
64
60
- if ( sessionToken ) {
61
- this . plugin . log ( 'Using AWS session token from config' , { verbose : true } ) ;
62
- s3Options . sessionToken = sessionToken ;
63
- }
64
-
65
65
if ( profile && ! this . plugin . readConfig ( 's3Client' ) ) {
66
66
this . plugin . log ( 'Using AWS profile from config' , { verbose : true } ) ;
67
67
s3Options . credentials = fromIni ( { profile : profile } ) ;
You can’t perform that action at this time.
0 commit comments