title: How to get current password age for a user using boto3
body: <p>I've been reading through boto 3 documentation to find this feature, but I can't seem to locate it.</p>
  
  <p>I'd like to get the current password age, like the one you can see in the aws IAM console.</p>
  
  <p>I was under the impression that <code>get_login_profile</code>'s "CreateDate" should give me the age for the current password, but it turns out that <code>get_login_profile</code> only returns the create date of the very first password you set up (so basically the day you made your account "console accessable"), not the age of the current password.</p>
  
  <p>This means that if you've changed password for any reason, you can't rely on <code>CreateDate</code>.</p>
  
  <p>Is this feature not supported by boto3 natively? Or am I missing something here? I could maybe use AWS lambda to alert me every time a user's password changes, but that seems like too much work for such a simple feature.</p>
  
  <p>Any help is much appreciated.</p>
  
  <p>Here's what I've tried:</p>
  
  <pre><code>try:
      password_age = iam_client.get_login_profile(UserName=ind["UserName"])
  except botocore.exceptions.ClientError as e:
          password_age = None
  if password_age:
          ind["password_age"] = password_age.get('LoginProfile', {}).get("CreateDate", {})
  </code></pre>