code: def process_key_event(self, event_data):
          '''
          Tag: salt/key
          Data:
          {'_stamp': '2014-05-20T22:45:04.345583',
           'act': 'delete',
           'id': 'compute.home',
           'result': True}
          '''
  
          tag = event_data['tag']
          event_info = event_data['data']
  
          if event_info['act'] == 'delete':
              self.minions.pop(event_info['id'], None)
          elif event_info['act'] == 'accept':
              self.minions.setdefault(event_info['id'], {})
  
          self.publish_minions(f process_key_event(self, event_data):
          '''
          Tag: salt/key
          Data:
          {'_stamp': '2014-05-20T22:45:04.345583',
           'act': 'delete',
           'id': 'compute.home',
           'result': True}
          '''
  
          tag = event_data['tag']
          event_info = event_data['data']
  
          if event_info['act'] == 'delete':
              self.minions.pop(event_info['id'], None)
          elif event_info['act'] == 'accept':
              self.minions.setdefault(event_info['id'], {})
  
          self.publish_minions()
docs: Tag: salt/key
          Data:
          {'_stamp': '2014-05-20T22:45:04.345583',
           'act': 'delete',
           'id': 'compute.home',
           'result': True}