Implemented the ApiKey controller.