{"action":"created","issue":{"url":"https://api.github.com/repos/alienfast/middleman-aws/issues/1","labels_url":"https://api.github.com/repos/alienfast/middleman-aws/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/alienfast/middleman-aws/issues/1/comments","events_url":"https://api.github.com/repos/alienfast/middleman-aws/issues/1/events","html_url":"https://github.com/alienfast/middleman-aws/pull/1","id":68913605,"number":1,"title":"Remove unnesassry credentials file to allow IAM Roles usage","user":{"login":"Fodoj","id":78866,"avatar_url":"https://avatars.githubusercontent.com/u/78866?v=3","gravatar_id":"","url":"https://api.github.com/users/Fodoj","html_url":"https://github.com/Fodoj","followers_url":"https://api.github.com/users/Fodoj/followers","following_url":"https://api.github.com/users/Fodoj/following{/other_user}","gists_url":"https://api.github.com/users/Fodoj/gists{/gist_id}","starred_url":"https://api.github.com/users/Fodoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fodoj/subscriptions","organizations_url":"https://api.github.com/users/Fodoj/orgs","repos_url":"https://api.github.com/users/Fodoj/repos","events_url":"https://api.github.com/users/Fodoj/events{/privacy}","received_events_url":"https://api.github.com/users/Fodoj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-04-16T12:29:34Z","updated_at":"2015-04-16T18:08:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alienfast/middleman-aws/pulls/1","html_url":"https://github.com/alienfast/middleman-aws/pull/1","diff_url":"https://github.com/alienfast/middleman-aws/pull/1.diff","patch_url":"https://github.com/alienfast/middleman-aws/pull/1.patch"},"body":"Currently it's impossible to use this rake task from EC2 instances, because without credentials files rake tasks explodes with exception. \r\n\r\nIt's AWS security best practice _not_ to store credentials in a text file on instance. Instead, IAM roles must be used. \r\n\r\nIt also makes no sense to use additional credentials file for this gem, because credentials for S3 and CloudFront are already configured inside middleman-s3_sync and middleman-cloudfront. \r\n\r\nI've already added IAM role supprot to middleman-s3_sync here https://github.com/fredjean/middleman-s3_sync/pull/85"},"comment":{"url":"https://api.github.com/repos/alienfast/middleman-aws/issues/comments/93804773","html_url":"https://github.com/alienfast/middleman-aws/pull/1#issuecomment-93804773","issue_url":"https://api.github.com/repos/alienfast/middleman-aws/issues/1","id":93804773,"user":{"login":"Fodoj","id":78866,"avatar_url":"https://avatars.githubusercontent.com/u/78866?v=3","gravatar_id":"","url":"https://api.github.com/users/Fodoj","html_url":"https://github.com/Fodoj","followers_url":"https://api.github.com/users/Fodoj/followers","following_url":"https://api.github.com/users/Fodoj/following{/other_user}","gists_url":"https://api.github.com/users/Fodoj/gists{/gist_id}","starred_url":"https://api.github.com/users/Fodoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fodoj/subscriptions","organizations_url":"https://api.github.com/users/Fodoj/orgs","repos_url":"https://api.github.com/users/Fodoj/repos","events_url":"https://api.github.com/users/Fodoj/events{/privacy}","received_events_url":"https://api.github.com/users/Fodoj/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T18:08:42Z","updated_at":"2015-04-16T18:08:42Z","body":"@rosskevin is there any particular reason you want to ignore patterns (and best practices) that are used inside:\r\n\r\n1. Fog gem (most commonly used cloud gem I believe)\r\n2. Official ruby aws-sdk \r\n3. middleman-s3_sync and middleman-cloudfront"}}