security iam policy info

Displays a detailed information about an Identity Access Management (IAM) policy.

Syntax

CLI
maprcli security iam policy info -name <Policy Name>

Parameters

Parameter Description
name Name of the Policy.

Example

maprcli security iam policy info -name AllowVol -json
{
        "timestamp":1726218684110,
        "timeofday":"2024-09-13 02:11:24.110 GMT-0700 AM",
        "status":"OK",
        "total":1,
        "data":[
                {
                        "Name":"AllowVol",
                        "Id":1,
                        "Description":"Allow Volume",
                        "Version":"1.0",
                        "Owner":"mapr",
                        "Created":"2024-09-12 03:39:05",
                        "Updated":"2024-09-13 01:43:08",
                        "Active":false,
                        "Statement":[
                                {
                                        "Sid":"Statement-1",
                                        "Effect":"Allow",
                                        "Action":[
                                                "VolumeFullControl"
                                        ],
                                        "Resource":[
                                                "urn:default:primary:volume:vol-1"
                                        ]
                                },
                                {
                                        "Sid":"Statement-2",
                                        "Effect":"Allow",
                                        "Action":[
                                                "WriteVolume",
                                                "ReadVolume"
                                        ],
                                        "Resource":[
                                                "urn:default:secondary:volume:vol-2"
                                        ]
                                },
                                {
                                        "Sid":"Statement-3",
                                        "Effect":"Allow",
                                        "Action":[
                                                "ReadVolume",
                                                "ManageVolumeConfig"
                                        ],
                                        "Resource":[
                                                "urn:default:secondary:volume:vol-3"
                                        ]
                                }
                        ],
                        "Identities":{
                                "Users": "user2,user3",
                                "Groups": "fabric-manager",
                                "Roles": ""
                        },
                        "Status":"Disarmed"
                }
        ]
}