File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ def kill_child():
69
69
# Avatica HTTPS truststore
70
70
parser .add_argument ('-t' , '--truststore' , help = 'Truststore file that contains the TLS certificate of the server.' )
71
71
parser .add_argument ('-tp' , '--truststore-password' , help = 'Password for the server TLS certificate truststore' )
72
+ # Keystore type
73
+ parser .add_argument ('-st' , '--keystore-type' , help = 'Type of key- and truststore files (i.e. JKS).' )
74
+
72
75
# Common arguments across sqlline.py and sqlline-thin.py
73
76
phoenix_queryserver_utils .common_sqlline_args (parser )
74
77
# Parse the args
@@ -201,7 +204,8 @@ def get_spnego_auth_disabled():
201
204
jdbc_url += ';truststore=' + tryDecode (args .truststore )
202
205
if args .truststore_password :
203
206
jdbc_url += ';truststore_password=' + tryDecode (args .truststore_password )
204
-
207
+ if args .keystore_type :
208
+ jdbc_url += ';keystore_type=' + tryDecode (args .keystore_type )
205
209
206
210
# Add SPENGO auth if this cluster uses it, and there are no conflicting HBase parameters
207
211
if (get_hbase_authentication () == 'kerberos' and get_spnego_auth_disabled () == 'false'
You can’t perform that action at this time.
0 commit comments