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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -