ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang Ruiqiang" <zh....@163.com>
Subject How to get the password of admin in service's scripts
Date Thu, 21 Jan 2016 17:12:29 GMT
Hi all:
      In service's scripts, I want to do something through the Rest API. The username and
password are the necessary parameters to call the API, at present, I set the fixed value for
the parameters, but if the password changed, the call of API will be failure.
       So, is there a soultion for this situation?
       By the way, as I know,  the agent communicates with server through Rest API too, does
agent need the password too?


Thanks!
Mime
View raw message