Closed
Description
Best practice is to use IAM role provided for S3 client access instead of providing access and secret keys.
Since S3 client instantiation provides explicit access and secret keys it takes precedence over IAM Role.
Should be fixable by not passing in the access and secret keys if environment variable is not set.