security iam role list

Lists all existing Custom Roles.

Syntax

The iam role list command lists all existing Custom Roles available in the system.

maprcli security iam role list
Example:
maprcli security iam role list -json
{
        "timestamp":1725885288560,
        "timeofday":"2024-09-09 05:34:48.560 GMT-0700 AM",
        "status":"OK",
        "total":3,
        "data":[
                {
                        "name":"QA",
                        "id":9,
                        "description":"A QA Role",
                        1"identities":{
                                1"users":"",
                                1"groups":""
                        }
                },
                {
                        "name":"engineering",
                        "id":8,
                        "description":"An engineering role",
                        "identities":{
                                "users":"keycloakuser1,user2",
                                "groups":"fabric-manager"
                        }
                },
                {
                        "name":"r1",
                        "id":6,
                        "description":"",
                        "identities":{
                                "users":"u1,u2",
                                "groups":"fabric-manager"
                        }
                }
        ]
}