Remove credentials from public