Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Minimum Privileges for the Ambari-REST-API usage

avatar
Contributor

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...