Validate hive key names