Remove unnecessary credential info