How are the database credentials stored within Test Data Manager (TDM)? What encryption method is used to store the data securely?

Answer:

Database credentials are stored within the gtrep (AKA the repo). The password is encrypted with the AES-256 cipher. All other data (username, servername, connection/driver parameters, database name, etc) are stored in plain text.