{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/crates.io/issues/688","repository_url":"https://api.github.com/repos/rust-lang/crates.io","labels_url":"https://api.github.com/repos/rust-lang/crates.io/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/crates.io/issues/688/comments","events_url":"https://api.github.com/repos/rust-lang/crates.io/issues/688/events","html_url":"https://github.com/rust-lang/crates.io/issues/688","id":224838964,"number":688,"title":"Allow generating multiple authentication tokens","user":{"login":"Nemo157","id":81079,"avatar_url":"https://avatars2.githubusercontent.com/u/81079?v=3","gravatar_id":"","url":"https://api.github.com/users/Nemo157","html_url":"https://github.com/Nemo157","followers_url":"https://api.github.com/users/Nemo157/followers","following_url":"https://api.github.com/users/Nemo157/following{/other_user}","gists_url":"https://api.github.com/users/Nemo157/gists{/gist_id}","starred_url":"https://api.github.com/users/Nemo157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nemo157/subscriptions","organizations_url":"https://api.github.com/users/Nemo157/orgs","repos_url":"https://api.github.com/users/Nemo157/repos","events_url":"https://api.github.com/users/Nemo157/events{/privacy}","received_events_url":"https://api.github.com/users/Nemo157/received_events","type":"User","site_admin":false},"labels":[{"id":501008354,"url":"https://api.github.com/repos/rust-lang/crates.io/labels/A-accounts","name":"A-accounts","color":"d7e102","default":false},{"id":110664824,"url":"https://api.github.com/repos/rust-lang/crates.io/labels/I-enhancement","name":"I-enhancement","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-27T16:19:11Z","updated_at":"2017-04-28T19:13:55Z","closed_at":null,"body":"I use Travis CI for publishing all my crates to avoid any chance of weird local settings influencing the package that gets published. At the moment that means all my repositories are sharing the one authentication token that crates.io makes available. I have accidentally leaked and had to revoke this token multiple times when trying to improve my CI scripts, this then provokes a round of replacing the token in all the repositories that use it. If I was instead able to generate a new token for each repository then I would be able to just revoke the one token that was leaked and update that one repository.\r\n\r\n🌟 Bonus points for being able to restrict the tokens to only have access for publishing a subset of my crates, but I assume that would probably come in a second feature request after multiple full-access tokens are available."},"comment":{"url":"https://api.github.com/repos/rust-lang/crates.io/issues/comments/298083473","html_url":"https://github.com/rust-lang/crates.io/issues/688#issuecomment-298083473","issue_url":"https://api.github.com/repos/rust-lang/crates.io/issues/688","id":298083473,"user":{"login":"carols10cents","id":193874,"avatar_url":"https://avatars1.githubusercontent.com/u/193874?v=3","gravatar_id":"","url":"https://api.github.com/users/carols10cents","html_url":"https://github.com/carols10cents","followers_url":"https://api.github.com/users/carols10cents/followers","following_url":"https://api.github.com/users/carols10cents/following{/other_user}","gists_url":"https://api.github.com/users/carols10cents/gists{/gist_id}","starred_url":"https://api.github.com/users/carols10cents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carols10cents/subscriptions","organizations_url":"https://api.github.com/users/carols10cents/orgs","repos_url":"https://api.github.com/users/carols10cents/repos","events_url":"https://api.github.com/users/carols10cents/events{/privacy}","received_events_url":"https://api.github.com/users/carols10cents/received_events","type":"User","site_admin":false},"created_at":"2017-04-28T19:13:55Z","updated_at":"2017-04-28T19:13:55Z","body":"Awesome! Yes, I definitely want such a thing for a variety of reasons :) Let me know if you have any questions!"}}
{"actor":{"display_login":"carols10cents"}}