{"action":"created","issue":{"url":"https://api.github.com/repos/mhart/kinesalite/issues/4","labels_url":"https://api.github.com/repos/mhart/kinesalite/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mhart/kinesalite/issues/4/comments","events_url":"https://api.github.com/repos/mhart/kinesalite/issues/4/events","html_url":"https://github.com/mhart/kinesalite/issues/4","id":56636338,"number":4,"title":"Connecting from Browser SDK","user":{"login":"Erve1879","id":1818244,"avatar_url":"https://avatars.githubusercontent.com/u/1818244?v=3","gravatar_id":"","url":"https://api.github.com/users/Erve1879","html_url":"https://github.com/Erve1879","followers_url":"https://api.github.com/users/Erve1879/followers","following_url":"https://api.github.com/users/Erve1879/following{/other_user}","gists_url":"https://api.github.com/users/Erve1879/gists{/gist_id}","starred_url":"https://api.github.com/users/Erve1879/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erve1879/subscriptions","organizations_url":"https://api.github.com/users/Erve1879/orgs","repos_url":"https://api.github.com/users/Erve1879/repos","events_url":"https://api.github.com/users/Erve1879/events{/privacy}","received_events_url":"https://api.github.com/users/Erve1879/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T07:21:14Z","updated_at":"2015-02-05T21:39:01Z","closed_at":null,"body":"I'm hoping to use Kinesalite to test my web app locally (using the AWS JS SDK, I post data to Kinesis from the browser). \r\n\r\nI've started Kinesalite using `kinesalite 4567` in my terminal and in my browser config I have:\r\n\r\n````JavaScript\r\nvar ep = new AWS.Endpoint('https://127.0.0.1:4567');\r\nvar kinesis = new AWS.Kinesis({endpoint: ep});\r\n````\r\nBut the SDK of course complains about missing credentials and region settings. Is what I'm trying to achieve possible?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mhart/kinesalite/issues/comments/73134246","html_url":"https://github.com/mhart/kinesalite/issues/4#issuecomment-73134246","issue_url":"https://api.github.com/repos/mhart/kinesalite/issues/4","id":73134246,"user":{"login":"mhart","id":367936,"avatar_url":"https://avatars.githubusercontent.com/u/367936?v=3","gravatar_id":"","url":"https://api.github.com/users/mhart","html_url":"https://github.com/mhart","followers_url":"https://api.github.com/users/mhart/followers","following_url":"https://api.github.com/users/mhart/following{/other_user}","gists_url":"https://api.github.com/users/mhart/gists{/gist_id}","starred_url":"https://api.github.com/users/mhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhart/subscriptions","organizations_url":"https://api.github.com/users/mhart/orgs","repos_url":"https://api.github.com/users/mhart/repos","events_url":"https://api.github.com/users/mhart/events{/privacy}","received_events_url":"https://api.github.com/users/mhart/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T21:39:01Z","updated_at":"2015-02-05T21:39:01Z","body":"It might be - I'm a little rusty on the SDK itself, but it seems that it's the one complaining, not kinesalite itself, so it's probably just a matter of supplying some credentials and region.\r\n\r\nWhat happens if you do:\r\n```js\r\nvar kinesis = new AWS.Kinesis({\r\n  endpoint: new AWS.Endpoint('https://127.0.0.1:4567'),\r\n  region: 'us-east-1',\r\n  accessKeyId: 'akid',\r\n  secretAccessKey: 'secret',\r\n})\r\n```\r\nOr:\r\n```js\r\nAWS.config.update({region: 'us-east-1', accessKeyId: 'akid', secretAccessKey: 'secret'})\r\n\r\nvar kinesis = new AWS.Kinesis({endpoint: new AWS.Endpoint('https://127.0.0.1:4567')})\r\n```"}}