{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/101","repository_url":"https://api.github.com/repos/aws/aws-sdk-php-laravel","labels_url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/101/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/101/events","html_url":"https://github.com/aws/aws-sdk-php-laravel/issues/101","id":164437935,"number":101,"title":"Small caveat with env variables","user":{"login":"jbardnz","id":1628446,"avatar_url":"https://avatars.githubusercontent.com/u/1628446?v=3","gravatar_id":"","url":"https://api.github.com/users/jbardnz","html_url":"https://github.com/jbardnz","followers_url":"https://api.github.com/users/jbardnz/followers","following_url":"https://api.github.com/users/jbardnz/following{/other_user}","gists_url":"https://api.github.com/users/jbardnz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbardnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbardnz/subscriptions","organizations_url":"https://api.github.com/users/jbardnz/orgs","repos_url":"https://api.github.com/users/jbardnz/repos","events_url":"https://api.github.com/users/jbardnz/events{/privacy}","received_events_url":"https://api.github.com/users/jbardnz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/labels/question","name":"question","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-08T00:44:45Z","updated_at":"2016-07-08T20:05:21Z","closed_at":null,"body":"Hey guys,\r\n\r\nFollowing the readme I have the default env variables set and was setting the package read them automatically:\r\n\r\nAWS_ACCESS_KEY_ID=\r\nAWS_SECRET_ACCESS_KEY=\r\nAWS_REGION=ap-southeast-2\r\n\r\nI ran into an issue when I started using laravel config:cache - the package then can't read env variables and the package can't Auth with AWS unless you specifically set the values in the config file. \r\n\r\nI think it could be worth putting a disclaimer in the readme or possibly always setting the config variables. \r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/comments/231458999","html_url":"https://github.com/aws/aws-sdk-php-laravel/issues/101#issuecomment-231458999","issue_url":"https://api.github.com/repos/aws/aws-sdk-php-laravel/issues/101","id":231458999,"user":{"login":"cjyclaire","id":10790394,"avatar_url":"https://avatars.githubusercontent.com/u/10790394?v=3","gravatar_id":"","url":"https://api.github.com/users/cjyclaire","html_url":"https://github.com/cjyclaire","followers_url":"https://api.github.com/users/cjyclaire/followers","following_url":"https://api.github.com/users/cjyclaire/following{/other_user}","gists_url":"https://api.github.com/users/cjyclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/cjyclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjyclaire/subscriptions","organizations_url":"https://api.github.com/users/cjyclaire/orgs","repos_url":"https://api.github.com/users/cjyclaire/repos","events_url":"https://api.github.com/users/cjyclaire/events{/privacy}","received_events_url":"https://api.github.com/users/cjyclaire/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T20:05:21Z","updated_at":"2016-07-08T20:05:21Z","body":"@jbardnz Thanks for the information, good to know. \r\n\r\nTo provide more information on the SDK side, there is a [default](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html) credential chain in SDK that fetch env value before profile, this is a behavior shared across all AWS SDKs, I think it might cause more confusion if changing the logic there. Yet, adding more information about this issue in `README.md` makes great sense to me.\r\nDoes this sounds good to you? I'll open a PR soon with more documentation on that."}}
{"actor":{"display_login":"cjyclaire"}}