Since the connectors rely on OAuth Authentication, there is no way to pass credentials during deployment. Instead there are a couple of documented ways to achieve this.
Of these, using pre-authorized API Connection resources is ones that would require the least amount of manual intervention. But do note the same-region requirement and throttling limitations mentioned in the doc.