code: def info(gandi, resource):
      
      output_keys = ['id', 'subject', 'date_created', 'date_expire',
                     'fqdns', 'vhosts']
  
      result = gandi.hostedcert.infos(resource)
      for num, hcert in enumerate(result):
          if num:
              gandi.separator_line()
          output_hostedcert(gandi, hcert, output_keys)
  
      return result
docs: Display information about a hosted certificate.
  
      Resource can be a FQDN or an ID