security iam role create

Creates Custom Roles.

Syntax

IMPORTANT
This operation is only supported on primary cluster group.
maprcli security iam role create -name <Role Name> -desc <Description Message>

Parameters

Parameter Description
name Name of the Role.
desc Description about the Role.
cluster Name of the Cluster.

Example

maprcli security iam role create -name Eng -desc "All Engineers" -json
{
        "timestamp":1726571524419,
        "timeofday":"2024-09-17 04:12:04.419 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[
                "Successfully created the role 'Eng'."
        ]
}