From 0657fd2c5456eababa3af648cac61e555443ae86 Mon Sep 17 00:00:00 2001 From: Levon Hakobyan Date: Sun, 28 Aug 2022 18:46:56 +0400 Subject: [PATCH] fix(readme) update doc for setting parmas at config/main.php --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 02c7c55..783b104 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,7 @@ An Amazon S3 component for Yii2. // ... 's3' => [ 'class' => 'frostealth\yii2\aws\s3\Service', - 'credentials' => [ // Aws\Credentials\CredentialsInterface|array|callable - 'key' => 'my-key', - 'secret' => 'my-secret', - ], + 'credentials' => 'new Aws\Credentials\Credentials('my-key', 'my-secret'), 'region' => 'my-region', 'defaultBucket' => 'my-bucket', 'defaultAcl' => 'public-read',