{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto/issues/2885","labels_url":"https://api.github.com/repos/boto/boto/issues/2885/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto/issues/2885/comments","events_url":"https://api.github.com/repos/boto/boto/issues/2885/events","html_url":"https://github.com/boto/boto/issues/2885","id":54451705,"number":2885,"title":"IAM role credentials broken since 2.35.0","user":{"login":"mikkoc","id":6280048,"avatar_url":"https://avatars.githubusercontent.com/u/6280048?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkoc","html_url":"https://github.com/mikkoc","followers_url":"https://api.github.com/users/mikkoc/followers","following_url":"https://api.github.com/users/mikkoc/following{/other_user}","gists_url":"https://api.github.com/users/mikkoc/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkoc/subscriptions","organizations_url":"https://api.github.com/users/mikkoc/orgs","repos_url":"https://api.github.com/users/mikkoc/repos","events_url":"https://api.github.com/users/mikkoc/events{/privacy}","received_events_url":"https://api.github.com/users/mikkoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T13:58:27Z","updated_at":"2015-01-16T02:20:14Z","closed_at":null,"body":"Error:\r\n\r\n```\r\n  File \"/usr/local/lib/python2.7/site-packages/boto/ec2/connection.py\", line 4201, in create_tags\r\n    return self.get_status('CreateTags', params, verb='POST')\r\n  File \"/usr/local/lib/python2.7/site-packages/boto/connection.py\", line 1226, in get_status\r\n    raise self.ResponseError(response.status, response.reason, body)\r\nboto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>669c1bac-5268-49fc-b4e6-566a34ab4c7c</RequestID></Response>\r\n```\r\n\r\nEverything works just fine with 2.34.0\r\n\r\nCode snippet:\r\n```\r\nregion = RegionInfo(endpoint='eu-west-1.ec2.amazonaws.com', name='eu-west-1')\r\nec2 = boto.connect_ec2(region=region)\r\nsystem_name = commands.getoutput('hostname')\r\nec2.create_tags([\"%s\" % iid], {\"Name\": \"%s\" % system_name})\r\n```"},"comment":{"url":"https://api.github.com/repos/boto/boto/issues/comments/70198979","html_url":"https://github.com/boto/boto/issues/2885#issuecomment-70198979","issue_url":"https://api.github.com/repos/boto/boto/issues/2885","id":70198979,"user":{"login":"jonathanallen","id":2894243,"avatar_url":"https://avatars.githubusercontent.com/u/2894243?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanallen","html_url":"https://github.com/jonathanallen","followers_url":"https://api.github.com/users/jonathanallen/followers","following_url":"https://api.github.com/users/jonathanallen/following{/other_user}","gists_url":"https://api.github.com/users/jonathanallen/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanallen/subscriptions","organizations_url":"https://api.github.com/users/jonathanallen/orgs","repos_url":"https://api.github.com/users/jonathanallen/repos","events_url":"https://api.github.com/users/jonathanallen/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanallen/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T02:20:14Z","updated_at":"2015-01-16T02:20:14Z","body":"STS assume_role_with_saml is also broken since 2.35.0:\r\n```\r\nboto.exception.BotoServerError: BotoServerError: 400 Bad Request\r\n<ErrorResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidIdentityToken</Code>\r\n    <Message>Unable to parse XML of response</Message>\r\n  </Error>\r\n  <RequestId>e9199a35-9d24-11e4-b2c8-67510023bf1d</RequestId>\r\n</ErrorResponse>\r\n```\r\n\r\nCode snippet:\r\n```\r\n        sts_connection = STSConnection(anon='true')\r\n        assumedRoleObject = sts_connection.assume_role_with_saml(\r\n            role_arn=role,\r\n            principal_arn=\"arn:aws:iam::\" + account + \":saml-provider/foo_idp\",\r\n            saml_assertion=urllib.quote(assertion),\r\n            duration_seconds=3600)\r\n```\r\nAlso works fine with 2.34.0\r\n"}}