title: Does AWS getSessionToken return the same credentials if called multiple times?
body: <p>How does AWS handle more than one call to getSessionToken? I was expecting it to return new access tokens, however it looks like it might use a previously generated one if still within a certain time range.</p>
  <p>There doesn't appear to be any information on this in the <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html" rel="nofollow noreferrer">AWS documentation</a>. I am specifically calling getSessionToken through the AWS SDK for PHP, but I don't think this matters.</p>
  <pre><code>$sts = StsClient::factory(
      // pass config here
  );
  
  $sessionToken = $sts-&gt;getSessionToken();
  ECHO $sessionToken['Credentials'];
  
  $sessionToken = $sts-&gt;getSessionToken();
  ECHO $sessionToken['Credentials']; // Will the credentials be the same?
  </code></pre>