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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

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