security iam policy list
Lists all existing Identity Access Management (IAM) policy.
Syntax
- CLI
-
maprcli security iam policy list -json
Example
maprcli security iam policy list -json
{
"timestamp":1726218513405,
"timeofday":"2024-09-13 02:08:33.405 GMT-0700 AM",
"status":"OK",
"total":2,
"data":[
{
"Name":"DenyVol",
"Id":2,
"Description":"Deny Volume",
"Version":"1.0",
"Owner":"mapr",
"Created":"2024-09-12 03:39:13",
"Updated":"",
"Active":true,
"Identities":{
"Users":"user3",
"Groups": "",
"Roles": ""
},
"Status":"Enforced"
},
{
"Name":"AllowVol",
"Id":1,
"Description":"Allow Volume",
"Version":"1.0",
"Owner":"root",
"Created":"2024-09-12 03:39:05",
"Updated":"2024-09-13 01:43:08",
"Active":false,
"Identities":{
"Users": "user2,user3",
"Groups": "fabric-manager",
"Roles": ""
},
"Status":"Disarmed"
}
]
}