I'm connecting to a data warehouse using odbc load as shown below:
(How) can I avoid having a plain-text password in Stata? I'm looking for something like SAS's proc pwencode, which supplies an encoded password or R's keyring::key_get that retrieves passwords from a system keyring.
Thanks for any help you can provide!
odbc load, exec("my_SQL_statement") user(my_username) password($pass) dsn("my_data_source");As you can see, the password is supplied by a global macro, which I defined in profile.do. That's better than putting the plain-text password in each .do file, but still not good.
(How) can I avoid having a plain-text password in Stata? I'm looking for something like SAS's proc pwencode, which supplies an encoded password or R's keyring::key_get that retrieves passwords from a system keyring.
Thanks for any help you can provide!
Comment