Meghan Quinn has been named the new secretary of the Department of Defence, replacing incoming ambassador to the US Greg Moriarty.