Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Cloudera Manager Rest API Authentication using Kerberos Authentication?

Explorer

I am trying to use kerberos authentication to hit a CM REST API endpoint. It keeps responding back with 401 Unauthorized and all the examples I have seen uses basic auth. 


Does anyone know if this possible and give an example of how it could be done?

2 REPLIES 2

Rising Star

HI @drewski7 , Can you please help us with the API you have used and the failure logs as well to check. 

Contributor

Dear @drewski7 please use this api to get the result. 

 

curl -X POST "https://dev-cm.sever.com:7183/api/v43/clusters/cluster-name/services/service/commands/restart" -H "accept: application/json" -k -u admin:pssword

replace api v43 version with ur version and cluster name. if you dont have tls change 7183 with 7180 and remove -k option

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.