Closed petrabarus closed 5 years ago
In the AwsS3Filesystem, key and secret are required attribute. When using S3 environment credentials for example from Instance Profile, credentials should not be provided.
AwsS3Filesystem
key
secret
credentials
http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html#credentials
If you do not provide a credentials option, the SDK will attempt to load credentials from your environment in the following order: Load credentials from environment variables Load credentials from a credentials ini file Load credentials from an IAM instance profile.
If you do not provide a credentials option, the SDK will attempt to load credentials from your environment in the following order:
Load credentials from environment variables Load credentials from a credentials ini file Load credentials from an IAM instance profile.
Might want to consider removing key and secret check in the init() and adding attribute, let's say clientConfig.
init()
clientConfig
In the
AwsS3Filesystem
,key
andsecret
are required attribute. When using S3 environment credentials for example from Instance Profile,credentials
should not be provided.http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html#credentials
Might want to consider removing
key
andsecret
check in theinit()
and adding attribute, let's sayclientConfig
.