docs: def get_aws_creds(account, tenant, token):
      """Get AWS account credentials to enable access to AWS.
  
      Returns a time bound set of AWS credentials.
      """
      url = (FAWS_API_URL.format(account))
      headers = {
          'X-Auth-Token': token,
          'X-Tenant-Id': tenant,
      }
      response = requests.post(url, headers=headers,
                               json={'credential': {'duration': '3600'}})
  
      if not response.ok:
          sys.exit(FAWS_API_ERROR.format(response.status_code, response.text))
      return response.json()['credential']