Hi,
in our case we use AWS IAM roles as credentials that don't require to use AWS accessKeyId and secretAccessKey for S3 buckets (and others services). Unfortunately with current implementation if we configure jsreport.config.json like this:
AWS S3 service starts to check accessKeyId and secretAccessKey and forbid to connect.
Our suggestion is to check not for falsy values but for undefined/null values which will allow to use empty strings. So if somebody is using AWS IAM roles as credentials it is possible to configure like that:
Hi, in our case we use AWS IAM roles as credentials that don't require to use AWS
accessKeyId
andsecretAccessKey
for S3 buckets (and others services). Unfortunately with current implementation if we configurejsreport.config.json
like this:it throws an error in
fileSystemS3.js:11
.If we use some dummy credentials:
AWS S3 service starts to check
accessKeyId
andsecretAccessKey
and forbid to connect.Our suggestion is to check not for
falsy
values but forundefined
/null
values which will allow to use empty strings. So if somebody is using AWS IAM roles as credentials it is possible to configure like that: