Support Questions
Find answers, ask questions, and share your expertise

Minimum Privileges for the Ambari-REST-API usage

Solved Go to solution

Minimum Privileges for the Ambari-REST-API usage

Explorer

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

Accepted Solutions
Highlighted

Re: Minimum Privileges for the Ambari-REST-API usage

Super 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
Highlighted

Re: Minimum Privileges for the Ambari-REST-API usage

Super 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

Don't have an account?