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

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!