How do you grant a named credential to a user via emcli
I am looking to grant a bunch of oem users access to a previously defined named credential via emcli. Does anyone know the correct syntax?
From the GUI you would perform the following steps
1) Navigate to Setup->Security->Named Credentials
2) Search for the desired credential.
3) Click Manage Access
4) Click Add Grant, select desired users
5) Update privilege to either "Edit Credential", "Full Credential" or "View Credential"
6) Click save.
We have a group of 10 people on our team, so doing this step manually is painful for the many named credentials we have.
For a bonus it would be great if we could grant access to named credentials via a role such as an AD/LDAP Group like "Weblogic Developers" . And just control access through adding users to the AD/LDAP group.