Added key_filter option to filter hosts by key_name