Actually write credentials data.