docs: def grok_ttl(secret):
      """Parses the TTL information"""
      ttl_obj = {}
      lease_msg = ''
      if 'lease' in secret:
          ttl_obj['lease'] = secret['lease']
          lease_msg = "lease:%s" % (ttl_obj['lease'])
  
      if 'lease_max' in secret:
          ttl_obj['lease_max'] = secret['lease_max']
      elif 'lease' in ttl_obj:
          ttl_obj['lease_max'] = ttl_obj['lease']
  
      if 'lease_max' in ttl_obj:
          lease_msg = "%s lease_max:%s" % (lease_msg, ttl_obj['lease_max'])
  
      return ttl_obj, lease_msg