Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Secure password usage with CLI ?

44619e163d12cf5f0d39
8 - Asteroid

We are using CLI and we need to have a secure method of providing username/password.

The challange is that we can not simply enter the credentials in the command-line since it is plain text.

2 REPLIES 2
Trifacta_Alumni
Alteryx Alumni (Retired)

Hi @Mad Hatter? ,

 

If you are using Kerberos then you can use a keytab file.

Details can be found in https://docs.trifacta.com/display/r042/Set+up+for+a+Kerberos-enabled+Hadoop+cluster#SetupforaKerberos-enabledHadoopcluster-EnableuseofKerberoskeytabbyCommandLineInterface?os_username=tr0%40lfn2gg2usr%24&os_password=%28f%2524X%3BLUY80%3A4

 

Make sure you use the following steps prior to executing the CLI command

 

  • export KRB5_CLIENT_KTNAME=/opt/trifacta/<username>.keytab
  • export GSS_KRB5_NT_PRINCIPAL_NAME=<username>
  • kinit <username> -k -t username.keytab 

 

44619e163d12cf5f0d39
8 - Asteroid

Thanks @Sebastian Cyris? , that did the trick for me