The Microsoft Exchange migration Tool does not store credentials in any database. The password is only required to validate mailboxes and move data directly to the server. You can feel safe while mentioning credentials in Exchange to Exchange Migration software because this software do not reveals or stores them anywhere.