title: How to increase the duration of STS credentials validity from one hour?
body: <p>I am going through this AWS doc about temporary credentials, and I have come across this, about the duration of them:</p>
  
  <blockquote>
    <p>The GetSessionToken action must be called by using the long-term AWS
    security credentials of the AWS account or an IAM user. </p>
    
    <p>Credentials that are created by IAM users are valid for the duration
    that you specify, from 900 seconds (15 minutes) up to a maximum of
    129600 seconds (36 hours), with a default of 43200 seconds (12 hours);
    credentials that are created by using account credentials can range
    from 900 seconds (15 minutes) up to a maximum of 3600 seconds (1
    hour), with a default of 1 hour.</p>
  </blockquote>
  
  <p><strong>So, what is the difference between <code>created by IAM users</code> and <code>created by using account credentials</code>?</strong></p>
  
  <p>I am creating my temporary credentials using STS via boto3, and they are being expired within an hour. How do I make them be valid for the 36 hours which is mentioned here, via boto3?</p>