{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto3/issues/1019","repository_url":"https://api.github.com/repos/boto/boto3","labels_url":"https://api.github.com/repos/boto/boto3/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto3/issues/1019/comments","events_url":"https://api.github.com/repos/boto/boto3/issues/1019/events","html_url":"https://github.com/boto/boto3/issues/1019","id":213538058,"number":1019,"title":"Proposal: Feature for automatically getting STS token via a configurable command","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars2.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"labels":[{"id":158506375,"url":"https://api.github.com/repos/boto/boto3/labels/feature-request","name":"feature-request","color":"fad8c7","default":false},{"id":221059382,"url":"https://api.github.com/repos/boto/boto3/labels/needs-discussion","name":"needs-discussion","color":"bfdadc","default":false},{"id":381325226,"url":"https://api.github.com/repos/boto/boto3/labels/others-chime-in","name":"others-chime-in","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-11T16:06:32Z","updated_at":"2017-03-13T18:02:26Z","closed_at":null,"body":"I was going to look into implementing this and sending a PR but wanted to check if it's a good idea first. \r\n\r\nI'd love if I could set in `~/.aws/config` a key called `get_token_command` or such (open on better name...). If the user does an an AWS operation and gets back a \"security token expired\" error, then boto would invoke the configured command. \r\n\r\nThis is basically taking the idea of https://github.com/msabramo/aws-cli-get-token-command and pushing it down into boto, so that it can work with AWS CLI but also other Python programs that use boto. \r\n\r\nWhat do folks think?"},"comment":{"url":"https://api.github.com/repos/boto/boto3/issues/comments/286192047","html_url":"https://github.com/boto/boto3/issues/1019#issuecomment-286192047","issue_url":"https://api.github.com/repos/boto/boto3/issues/1019","id":286192047,"user":{"login":"JordonPhillips","id":2643092,"avatar_url":"https://avatars1.githubusercontent.com/u/2643092?v=3","gravatar_id":"","url":"https://api.github.com/users/JordonPhillips","html_url":"https://github.com/JordonPhillips","followers_url":"https://api.github.com/users/JordonPhillips/followers","following_url":"https://api.github.com/users/JordonPhillips/following{/other_user}","gists_url":"https://api.github.com/users/JordonPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/JordonPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordonPhillips/subscriptions","organizations_url":"https://api.github.com/users/JordonPhillips/orgs","repos_url":"https://api.github.com/users/JordonPhillips/repos","events_url":"https://api.github.com/users/JordonPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/JordonPhillips/received_events","type":"User","site_admin":false},"created_at":"2017-03-13T18:02:26Z","updated_at":"2017-03-13T18:02:26Z","body":"Automating away MFA kind of defeats the point. I can understand wanting a longer expiration time, but having a process automatically grabbing a new token isn't actually any different than just having a fixed policy with credentials scoped to what you need. You still have the power to rotate / revoke credentials when necessary.\r\n\r\nCan I ask what your use case is? It could be that I'm missing something."}}
{"actor":{"display_login":"JordonPhillips"}}