expose key server API