Key management for keys share among multiple hosts