如何为laravel 5使用aws凭证文件

Is there a way to use laravel's SQS queue w/out putting access key and secret in the config? ie: use aws credentials file?

Laravel instantiates a SqsClient here, passing through options from app/config/queue.php.

It looks like you're interested the 'profile' option described here.

use Aws\Sqs\SqsClient;

$client = SqsClient::factory(array(
    'profile' => '<profile in your aws credentials file>',
    'region'  => '<region name>'
));

Seems to me you should just be able to set a 'profile' option on your queue config

'sqs' => [
    'driver'  => 'sqs',
    'profile' => '/path/to/your/credeitials/profile/here',
    'queue'   => 'your-queue-url',
    'region'  => 'us-east-1',
],