add credential file post