amazon s3 - Laravel accessing S3 bucket vs AWS Role -


i have ec2 instance runs laravel 5.1. using s3 bucket through laravel's api:

amazon_key=key amazon_secret=secret amazon_region=us-west-2 amazon_s3_bucket=my_app_bucket 

but set role enables box use particular bucket. why need key , secret? analysis of code, looks laravel demands key , secret, seem have create iam user account key/secret , use s3 access instead of using roles, preferred. there way around this, or how laravel s3 access works?

a fix use iam credentials filesystem, queue, , email merged few days ago, upgrading laravel v5.1.7 should trick.

https://github.com/laravel/framework/pull/9558


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -