Transition to cloud storage with keys