add credential config