key-ex: send key type