Teradata Wallet can also provide both the username and password for a tdpid specified in the logon string.
.logon tdpid/$tdwallet(username_for_$(tdpid)),$tdwallet(password_for_$(tdpid))[,”account”]
This method requires completion of the setup shown in Storing Logon Information by System Tdpid, including optional setup of the username.