Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Minimum Privileges for the Ambari-REST-API usage

avatar
New Member

Hi,

I use the Ambari-REST-API to query relevant metainformation of a Cluster. For this I have to pass a Username and a Password in the REST call. The user in the REST-call must have Admin-Privileges on the Cluster. Exist a Privileges/Role, lower than Admin, that I can grant a User to get access on the REST-API. I don’t want to modify Information in the Cluster.

Best Regards

Dominik

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Dominik Ludwig

You can create a user belonging to role "Cluster User" (kind of Read Only) user.

Cluster User: Users assigned to the Cluster User role can view information about the cluster and its services, including configurations, service status, and health alerts. In Ambari 2.2 and earlier, this user was referred to as the Read-only user. Effectively, the cluster user is a view-only user.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/cluster_ro...

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Dominik Ludwig

You can create a user belonging to role "Cluster User" (kind of Read Only) user.

Cluster User: Users assigned to the Cluster User role can view information about the cluster and its services, including configurations, service status, and health alerts. In Ambari 2.2 and earlier, this user was referred to as the Read-only user. Effectively, the cluster user is a view-only user.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/cluster_ro...