-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Describe the bug
When deploying the oPack S3 on an AWS environment where the credentials are environment variables based it will end in error trying to access IAM-role credentials.
To Reproduce
Steps to reproduce the behavior:
- Create a AWS Lambda function with the AWSLambdaLayers oPack
- Associate the necessary permissions to access a S3 bucket
- Write a script or oJob that performs a simple
var s3 = new S3(); s3.listObjects("my-bucket") - Running se.listObjects will produce the error
Expected behavior
Should try first to use io.minio.credentials.AwsEnvironmentProvider before io.minio.credentials.IamAwsProvider since MinIO client seems not to do it.