upload master key metadata