{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/648","repository_url":"https://api.github.com/repos/mozilla/testpilot","labels_url":"https://api.github.com/repos/mozilla/testpilot/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/testpilot/issues/648/comments","events_url":"https://api.github.com/repos/mozilla/testpilot/issues/648/events","html_url":"https://github.com/mozilla/testpilot/issues/648","id":151440594,"number":648,"title":"Store basket API key in admin","user":{"login":"ckprice","id":8632184,"avatar_url":"https://avatars.githubusercontent.com/u/8632184?v=3","gravatar_id":"","url":"https://api.github.com/users/ckprice","html_url":"https://github.com/ckprice","followers_url":"https://api.github.com/users/ckprice/followers","following_url":"https://api.github.com/users/ckprice/following{/other_user}","gists_url":"https://api.github.com/users/ckprice/gists{/gist_id}","starred_url":"https://api.github.com/users/ckprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckprice/subscriptions","organizations_url":"https://api.github.com/users/ckprice/orgs","repos_url":"https://api.github.com/users/ckprice/repos","events_url":"https://api.github.com/users/ckprice/events{/privacy}","received_events_url":"https://api.github.com/users/ckprice/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/testpilot/labels/public%20launch","name":"public launch","color":"fbca04"},{"url":"https://api.github.com/repos/mozilla/testpilot/labels/size:medium","name":"size:medium","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mozilla/testpilot/milestones/8","html_url":"https://github.com/mozilla/testpilot/milestones/2016-05-06","labels_url":"https://api.github.com/repos/mozilla/testpilot/milestones/8/labels","id":1673355,"number":8,"title":"2016-05-06","description":"Quit experiment flow | Email integration | Launch experiment assets","creator":{"login":"ckprice","id":8632184,"avatar_url":"https://avatars.githubusercontent.com/u/8632184?v=3","gravatar_id":"","url":"https://api.github.com/users/ckprice","html_url":"https://github.com/ckprice","followers_url":"https://api.github.com/users/ckprice/followers","following_url":"https://api.github.com/users/ckprice/following{/other_user}","gists_url":"https://api.github.com/users/ckprice/gists{/gist_id}","starred_url":"https://api.github.com/users/ckprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckprice/subscriptions","organizations_url":"https://api.github.com/users/ckprice/orgs","repos_url":"https://api.github.com/users/ckprice/repos","events_url":"https://api.github.com/users/ckprice/events{/privacy}","received_events_url":"https://api.github.com/users/ckprice/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2016-03-30T06:16:13Z","updated_at":"2016-04-27T17:17:49Z","due_on":"2016-05-06T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-27T17:17:49Z","updated_at":"2016-04-27T18:12:16Z","closed_at":null,"body":"This is required for #609.\r\n\r\nFor us to send unsubscribe pings, we need an API key from basket.\r\n\r\nSee documentation for [`/news/unsubscribe/`](http://basket.readthedocs.org/newsletter_api.html#news-unsubscribe) and [`/news/lookup-user`](http://basket.readthedocs.org/newsletter_api.html#news-lookup-user).\r\n\r\nWe have an API key for production. ~~TBD if we'll need a separate for dev/stage.~~ We can use this one key for stage and production.\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/comments/215177472","html_url":"https://github.com/mozilla/testpilot/issues/648#issuecomment-215177472","issue_url":"https://api.github.com/repos/mozilla/testpilot/issues/648","id":215177472,"user":{"login":"lmorchard","id":21687,"avatar_url":"https://avatars.githubusercontent.com/u/21687?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T18:12:16Z","updated_at":"2016-04-27T18:12:16Z","body":"I'm also not super-comfortable with having production credentials on our stage & dev servers. They're reasonably secure, but less-so than prod for the sake of dev flexibility (among other things). \r\n\r\nAs a rule, we should avoid having real personal info on or accessible to anything other than prod, and never ever import prod data to stage or dev. But, if that's how basket is used on other projects, I guess we go with it."}}