RestAPI - How to generate Auth Token

asked 2020-10-27 11:13:27 -0600

Jinesh gravatar image

Hi

I am trying to use the restAPI to get the status of the pipelines(/rest/v1/pipelines/status), but i am not able to get the X-SS-User-Auth-Token to authenticate.

I understood that we need to use the below options to get the session id:

curl -X POST -d '{"userName":"DPMUserID", "password": "DPMUserPassword"}' https://cloud.streamsets.com/security... --header "Content-Type:application/json" --header "X-Requested-By:SDC" -c cookie.txt

My company uses Single Sign-On to login to streamsets and the streamset is just asking for username alone. Can you please help me how to get the X-SS-User-Auth-Token

edit retag flag offensive close merge delete