code: def list_service_certificates(kwargs=None, conn=None, call=None):
      '''
      .. versionadded:: 2015.8.0
  
      List certificates associated with the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_service_certificates my-azure name=my_service
      '''
      if call != 'function':
          raise SaltCloudSystemExit(
              'The list_service_certificates function must be called with -f or --function.'
          )
  
      if kwargs is None:
          kwargs = {}
  
      if 'name' not in kwargs:
          raise SaltCloudSystemExit('A service name must be specified as "name"')
  
      if not conn:
          conn = get_conn()
  
      data = conn.list_service_certificates(service_name=kwargs['name'])
      ret = {}
      for item in data.certificates:
          ret[item.thumbprint] = object_to_dict(item)
      return ref list_service_certificates(kwargs=None, conn=None, call=None):
      '''
      .. versionadded:: 2015.8.0
  
      List certificates associated with the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_service_certificates my-azure name=my_service
      '''
      if call != 'function':
          raise SaltCloudSystemExit(
              'The list_service_certificates function must be called with -f or --function.'
          )
  
      if kwargs is None:
          kwargs = {}
  
      if 'name' not in kwargs:
          raise SaltCloudSystemExit('A service name must be specified as "name"')
  
      if not conn:
          conn = get_conn()
  
      data = conn.list_service_certificates(service_name=kwargs['name'])
      ret = {}
      for item in data.certificates:
          ret[item.thumbprint] = object_to_dict(item)
      return ret
docs: .. versionadded:: 2015.8.0
  
      List certificates associated with the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_service_certificates my-azure name=my_service