should it get credentials from AWS.config?
Opened this issue · 0 comments
arturojain commented
if AWS.config
credentials are set it should use them instead of asking for them again.
I'm doing this as a fix:
AWS.config.getCredentials(function (err) {
if (!err) {
new S3zip({
accessKeyId: AWS.config.credentials.accessKeyId,
secretAccessKey: AWS.config.credentials.secretAccessKey,
region: AWS.config.region,
bucket: < bucket >
})
}
})