Prateek,
Please notice the https: prefix in the URL.
The username/password goes over SSL in encrypted form.
Would you still be concerned?
Thanks
Dilli

From: prateek arora 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, May 27, 2015 4:05 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: do not want to pass username-password in curl command

Hi

I am using below command to access hadoop service.

   curl -ik -u guest:guest-password -H "Accept: text/xml" -X GET 
'https://192.168.44.11:8443/gateway/sandbox/hbase'


i do not want to pass username and password over the network.

so is there any mechanism  so i can pass some tokens or api-key so i can hide 
user-name and password .

Regards
Prateek

Reply via email to