simple key mounting middleware