fix upload key functionality
fix upload key functionality

with this commit, all the implemented functionality is functional in the csv2-dev2 environment

hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler