As an alternative to including admin passwords in each command that is executed, you can insert a set of admin credentials into a configuration file. The file location is the following:
~/.trifacta/config.json
One or more sets of credentials can be specified in the following format:
{ "credentials": { "usernameX":"passwordX", "usernameY":"passwordY" } }
In your scripts, you can specify just the value for admin_username
, and the config file is checked for the appropriate password, which is applied to the command.
NOTE: The permissions on this config file should be set such that only the user executing the command can read the file.
This page has no comments.