HIVE-8416 Initial patch of Generic key management framework