Software Development Kit (SDK) and API Discussions

What is the "cmddirname" for ONTAPI "fpolicy-server-connect" in-order to create security login role?

Anshul

What is the "cmddirname" for ONTAPI "fpolicy-server-connect" in-order to create security login role?

****::*> security login role create -role myrole -cmddirname "vserver fpolicy server" -access all

Error: command failed: failed to set field "cmddirname" to "vserver fpolicy server"

We are using "fpolicy-server-connect" in our code and hence want to create a user with minimum privilege's to run this ONTAPI i.e. "fpolicy-server-connect".
Please help us to find minimum privilege user role to run this ONTAPI.

1 REPLY 1

Ontapforrum

I used these commands in 2017, don't know how relevant they are now. But, following should suffice to give user API access.

security login role create –role vrnsrole –cmddirname “vserver fpolicy” –vserver SVM_NFS
security login role create –role vrnsrole -cmddirname “volume” –vserver SVM_NFS –access all
security login role create –role vrnsrole –cmddirname “vserver” – vserver SVM_NFS –access all
security login role create -role vrnsrole -cmddirname "version" – vserver SVM_NFS -access all

 

To grant ONTAPI access for the NetApp cluster for an Active Directory user, run the following command on the cluster console:
security login create –vserver <vservername> -username <domain\username> -application ontapi -authmethod domain -role <rolename>

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public