For me it worked OOtB, so it seems that IAM role assigned to that machine do not allow for accessing that S3 bucket.