code: def run(self):
          '''
          Execute salt-key
          '''
          import salt.key
          self.parse_args()
  
          self.setup_logfile_logger()
          verify_log(self.config)
  
          key = salt.key.KeyCLI(self.config)
          if check_user(self.config['user']):
              key.run(f run(self):
          '''
          Execute salt-key
          '''
          import salt.key
          self.parse_args()
  
          self.setup_logfile_logger()
          verify_log(self.config)
  
          key = salt.key.KeyCLI(self.config)
          if check_user(self.config['user']):
              key.run()
docs: Execute salt-key