New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove credentials if blank, causing the SDK to use ec2 role #84

merged 5 commits into from Sep 18, 2015
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+7 −5
Diff settings


Just for now

Copy path View file
@@ -8,6 +8,10 @@ php:

sudo: false

- php: hhvm

install: travis_retry composer install --no-interaction --prefer-source

script: vendor/bin/phpunit
Copy path View file
@@ -16,10 +16,7 @@
'credentials' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_REGION', 'us-east-1'),
'version' => 'latest',
'ua_append' => [
Copy path View file
@@ -41,7 +41,8 @@ public function boot()
public function register()
$this->app->singleton('aws', function ($app) {
return new Sdk($app['config']->get('aws'));
$config = $app['config']->get('aws');
return new Sdk($config);
$this->app->alias('aws', 'Aws\Sdk');
ProTip! Use n and p to navigate between commits in a pull request.