security iam policy

You can use iam policy command to perform various operations related to all work-flows of Identity access Management (IAM) Custom Roles.

Syntax

maprcli security iam policy

Example

$ maprcli security iam policy -help
security iam policy

        create
                -name <Policy Name>
                -content (JSON String | JSON File)
                [ -is_file (true|false). default: false ]

        modify
                -name <Policy Name>
                -content (JSON String | JSON File)
                [ -is_file (true|false). default: false ]
  
        remove
                -name <Policy Name>

        info
                -name <Policy Name>

        list
                [ -start <Start>. default: 0 ]
                [ -limit <Limit>. default: 2147483647 ]

        attach
                -name <Policy Name>
                [ -users <List of Users> ]
                [ -groups <List of Groups> ]
                [ -roles <List of Roles> ]

        detach
                -name <Policy Name>
                [ -users <List of Users> ]
                [ -groups <List of Groups> ]
                [ -roles <List of Roles> ]

        mapping
                [ -users <List of Users> ]
                [ -groups <List of Groups> ]
                [ -roles <List of Roles> ]

See the specific page of the respective command for details, listed as follows: