security iam role
Command to manage custom roles.
You can use the security iam role command to do the
following:
- manage custom roles
- attach custom roles to identity policies or detach custom roles from identities, that is, users and groups
- retrieve information about mapping between custom role and identities
Syntax
maprcli security iam role
Example
maprcli security iam role -help
security iam role
create
-name <Role Name>
[ -desc <Role Description> ]
[ -cluster <Cluster Name> ]
modify
-name <Role Name>
-desc <Role Description>
[ -cluster <Cluster Name> ]
remove
-name <Role Name>
[ -cluster <Cluster Name> ]
info
-name <Role Name>
[ -cluster <Cluster Name> ]
list
[ -cluster <Cluster Name> ]
[ -limit <Limit>. default: 2147483647 ]
[ -start <Start>. default: 0 ]
attach
-name <Role Name>
[ -users <List of Users> ]
[ -groups <List of Groups> ]
detach
-name <Role Name>
[ -users <List of Users> ]
[ -groups <List of Groups> ]See the specific page of the respective command for details, listed as follows: