{
  "events": [
    {
      "connection_id": 0,
      "action": {
        "Request": {
          "request": {
            "uri": "http://169.254.170.2/v2/credentials/52b19262-e7aa-4f56-a1cd-b958dcde8f3b",
            "headers": {
              "accept": [
                "application/json"
              ]
            },
            "method": "GET"
          }
        }
      }
    },
    {
      "connection_id": 0,
      "action": {
        "Eof": {
          "ok": true,
          "direction": "Request"
        }
      }
    },
    {
      "connection_id": 0,
      "action": {
        "Response": {
          "response": {
            "Ok": {
              "status": 200,
              "version": "HTTP/1.1",
              "headers": {
                "content-type": [
                  "application/json"
                ],
                "x-rate-limit-duration": [
                  "1"
                ],
                "x-rate-limit-limit": [
                  "40"
                ],
                "x-rate-limit-request-forwarded-for": [
                  ""
                ],
                "x-rate-limit-request-remote-addr": [
                  "169.254.172.2:35484"
                ],
                "date": [
                  "Fri, 15 Oct 2021 15:23:49 GMT"
                ],
                "content-length": [
                  "1231"
                ]
              }
            }
          }
        }
      }
    },
    {
      "connection_id": 0,
      "action": {
        "Data": {
          "data": {
            "Utf8": "{\"RoleArn\":\"arn:aws:iam::123456789:role/ecs-task-role\",\"AccessKeyId\":\"ASIARTEST\",\"SecretAccessKey\":\"SECRETTEST\",\"Token\":\"tokenEaCXVzLXdlc3QtMiJGMEQCIHt47W18eF4dYfSlmKGiwuJnqmIS3LMXNYfODBCEhcnaAiAnuhGOpcdIDxin4QFzhtgaCR2MpcVqR8NFJdMgOt0/xyrnAwhhEAEaDDEzNDA5NTA2NTg1NiIM9M9GT+c5UfV/8r7PKsQDUa9xE9Eprz5N+jgxbFSD2aJR2iyXCcP9Q1cOh4fdZhyw2WNmq9XnIa2tkzrreiQ5R2t+kzergJHO1KRZPfesarfJ879aWJCSocsEKh7xXwwzTsVXrNo5eWkpwTh64q+Ksz15eoaBhtrvnGvPx6SmXv7SToi/DTHFafJlT/T9jITACZvZXSE9zfLka26Rna3rI4g0ugowha//j1f/c1XuKloqshpZvMKc561om9Y5fqBv1fRiS2KhetGTcmz3wUqNQAk8Dq9oINS7cCtdIO0atqCK69UaKeJ9uKY8mzY9dFWw2IrkpOoXmA9r955iU0NOz/95jVJiPZ/8aE8vb0t67gQfzBUCfky+mGSGWAfPRXQlFa5AEulCTHPd7IcTVCtasG033oKEKgB8QnTxvM2LaPlwaaHo7MHGYXeUKbn9NRKd8m1ShwmAlr4oKp1vQp6cPHDTsdTfPTzh/ZAjUPs+ljQbAwqXbPQdUUPpOk0vltY8k6Im9EA0pf80iUNoqrixpmPsR2hzI/ybUwdh+QhvCSBx+J8KHqF6X92u4qAVYIxLy/LGZKT9YC6Kr9Gywn+Ro+EK/xl3axHPzNpbjRDJnbW3HrMw5LmmiwY6pgGWgmD6IOq4QYUtu1uhaLQZyoI5o5PWn+d3kqqxifu8D0ykldB3lQGdlJ2rjKJjCdx8fce1SoXao9cc4hiwn39hUPuTqzVwv2zbzCKmNggIpXP6gqyRtUCakf6tI7ZwqTb2S8KF3t4ElIP8i4cPdNoI0JHSC+sT4LDPpUcX1CjGxfvo55mBHJedW3LXve8TRj4UckFXT1gLuTnzqPMrC5AHz4TAt+uv\",\"Expiration\" : \"2009-02-13T23:31:30Z\"}"
          },
          "direction": "Response"
        }
      }
    },
    {
      "connection_id": 0,
      "action": {
        "Eof": {
          "ok": true,
          "direction": "Response"
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Request": {
          "request": {
            "uri": "https://sts.us-east-1.amazonaws.com/",
            "headers": {
              "x-amz-user-agent": [
                "aws-sdk-rust/0.1.0 api/sts/0.0.18-alpha os/linux lang/rust/1.52.1"
              ],
              "x-amz-date": [
                "20210921T174125Z"
              ],
              "content-type": [
                "application/x-www-form-urlencoded"
              ],
              "authorization": [
                "AWS4-HMAC-SHA256 Credential=ASIARSTSBASE/20210921/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-user-agent, Signature=04b50dce4d88239e17186ec45aeeec13e8f04f7b3b04a03f152ef4cdc5f22c41"
              ],
              "user-agent": [
                "aws-sdk-rust/0.1.0 os/linux lang/rust/1.52.1"
              ],
              "x-amz-security-token": [
                "tokenbase"
              ],
              "content-length": [
                "165"
              ]
            },
            "method": "POST"
          }
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Data": {
          "data": {
            "Utf8": "Action=AssumeRole&Version=2011-06-15&RoleArn=arn%3Aaws%3Aiam%3A%3A130633740322%3Arole%2Fimds-chained-role-test&RoleSessionName=assume-role-from-profile-1632246085998"
          },
          "direction": "Request"
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Eof": {
          "ok": true,
          "direction": "Request"
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Response": {
          "response": {
            "Ok": {
              "status": 200,
              "version": "HTTP/1.1",
              "headers": {
                "x-amzn-requestid": [
                  "d9d47248-fd55-4686-ad7c-0fb7cd1cddd7"
                ],
                "content-length": [
                  "1557"
                ],
                "content-type": [
                  "text/xml"
                ],
                "date": [
                  "Tue, 21 Sep 2021 17:41:25 GMT"
                ]
              }
            }
          }
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Data": {
          "data": {
            "Utf8": "<AssumeRoleResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\n  <AssumeRoleResult>\n    <AssumedRoleUser>\n      <AssumedRoleId>AROAR42TAWARILN3MNKUT:assume-role-from-profile-1632246085998</AssumedRoleId>\n      <Arn>arn:aws:sts::130633740322:assumed-role/imds-chained-role-test/assume-role-from-profile-1632246085998</Arn>\n    </AssumedRoleUser>\n    <Credentials>\n      <AccessKeyId>ASIARCORRECT</AccessKeyId>\n      <SecretAccessKey>secretkeycorrect</SecretAccessKey>\n      <SessionToken>tokencorrect</SessionToken>\n      <Expiration>2021-09-21T18:41:26Z</Expiration>\n    </Credentials>\n  </AssumeRoleResult>\n  <ResponseMetadata>\n    <RequestId>d9d47248-fd55-4686-ad7c-0fb7cd1cddd7</RequestId>\n  </ResponseMetadata>\n</AssumeRoleResponse>\n"
          },
          "direction": "Response"
        }
      }
    },
    {
      "connection_id": 1,
      "action": {
        "Eof": {
          "ok": true,
          "direction": "Response"
        }
      }
    }
  ],
  "docs": "IMDS role assumption",
  "version": "V0"
}
