Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Better support for permissions-restricted (IAM) environments on AWS #223
I'm going to add more comments, but for testing that the token is present you should add a test case to the
For example, you could set MockHttp.type inside
def _TOKEN(self, method, url, body, headers): self.assertEqual(headers['x-amz-security-token'], ...) ...
@coderanger Oh, right, I totally missed this out. Rest of the values get sent as part of query parameters and not via headers.
This means the code needs to be updated to send
Edit: While we are at it, it would also be good to check it they might support sending this value via query parameters as well (I quickly glanced over the documentation and I could see this value being sent via headers).