key management and control system