{"action":"created","issue":{"url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/41","labels_url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/41/comments","events_url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/41/events","html_url":"https://github.com/laurilehmijoki/s3_website/issues/41","id":22807993,"number":41,"title":"Setting up API credentials","user":{"login":"dominikwilkowski","id":1266923,"avatar_url":"https://avatars.githubusercontent.com/u/1266923?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikwilkowski","html_url":"https://github.com/dominikwilkowski","followers_url":"https://api.github.com/users/dominikwilkowski/followers","following_url":"https://api.github.com/users/dominikwilkowski/following{/other_user}","gists_url":"https://api.github.com/users/dominikwilkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikwilkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikwilkowski/subscriptions","organizations_url":"https://api.github.com/users/dominikwilkowski/orgs","repos_url":"https://api.github.com/users/dominikwilkowski/repos","events_url":"https://api.github.com/users/dominikwilkowski/events{/privacy}","received_events_url":"https://api.github.com/users/dominikwilkowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laurilehmijoki/s3_website/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-11-17T23:19:50Z","updated_at":"2015-04-30T21:25:29Z","closed_at":"2013-11-21T10:53:24Z","body":"Hi there,\r\n\r\nI am sure this is something easy that I just can't see right now but I seem to be unable to set up the correct API credentials.\r\n\r\nWhat I got so far:\r\nI added a user in IAM with the group policy and user policy as follows:\r\n\r\n    {\r\n\t  \"Version\": \"2012-10-17\",\r\n\t  \"Statement\": [\r\n\t    {\r\n\t      \"Effect\": \"Allow\",\r\n\t      \"Action\": \"s3:*\",\r\n\t      \"Resource\": \"*\"\r\n\t    }\r\n\t  ]\r\n\t}\r\n\r\nAnd still get `AllAccessDisabled` when I do `s3_website cfg apply`.\r\n\r\nThe very same credentials work fine when using an FTP client like `Transmit`. Are there any other settings I'm not aware of that have to be set for this to work?\r\n\r\nAny help is appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/comments/97972979","html_url":"https://github.com/laurilehmijoki/s3_website/issues/41#issuecomment-97972979","issue_url":"https://api.github.com/repos/laurilehmijoki/s3_website/issues/41","id":97972979,"user":{"login":"siruguri","id":40653,"avatar_url":"https://avatars.githubusercontent.com/u/40653?v=3","gravatar_id":"","url":"https://api.github.com/users/siruguri","html_url":"https://github.com/siruguri","followers_url":"https://api.github.com/users/siruguri/followers","following_url":"https://api.github.com/users/siruguri/following{/other_user}","gists_url":"https://api.github.com/users/siruguri/gists{/gist_id}","starred_url":"https://api.github.com/users/siruguri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siruguri/subscriptions","organizations_url":"https://api.github.com/users/siruguri/orgs","repos_url":"https://api.github.com/users/siruguri/repos","events_url":"https://api.github.com/users/siruguri/events{/privacy}","received_events_url":"https://api.github.com/users/siruguri/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T21:25:29Z","updated_at":"2015-04-30T21:25:29Z","body":"The solution suggested by @dominikwilkowski didn't work for me ... It didn't matter, `s3_website push` still works, and I configured my bucket on the AWS console anyway. But `cfg apply` still fails with just an `AccessDenied` message, even when my `s3_bucket` setting has `domain.com` appended to the bucket name.\r\n"}}