move credentials to only be input when adding a replica