security iam resource actions
The iam resource actions
command lists all supported
Resource Types and their Actions that can be specified in Identity
Policy.
Syntax
- CLI
-
maprcli security iam resource actions [ -type <Resource Type> ]
Parameters
Parameter | Description |
---|---|
type |
(Optional) The resource type, such as volume, cluster, and S3 bucket. |
Examples
Volume
sudo maprcli security iam resource actions -type Volume -json
{
"timestamp":1738058251706,
"timeofday":"2025-01-28 01:57:31.706 GMT-0800 AM",
"status":"OK",
"total":1,
"data":[
{
"ResourceType":"volume",
"ResourceActions":[
"ReadVolume",
"WriteVolume",
"DeleteVolume",
"MountVolume",
"MirrorVolume",
"ManageVolumeConfig",
"ManageVolumeACE",
"VolumeFullControl"
]
}
]
}
Cluster
sudo maprcli security iam resource actions -type Cluster -json
{
"timestamp":1738058425818,
"timeofday":"2025-01-28 02:00:25.818 GMT-0800 AM",
"status":"OK",
"total":1,
"data":[
{
"ResourceType":"cluster",
"ResourceActions":[
"ViewClusterConfig",
"ManageClusterServices",
"ManageClusterOperations",
"ManageClusterSettings",
"ManageIamRoleOperations",
"ManageClusterACE",
"ManageStartStopService",
"ManageClusterVolume"
]
}
]
}
S3
Bucket
:~$ sudo maprcli security iam resource actions -type s3bucket -json
{
"timestamp":1738058692979,
"timeofday":"2025-01-28 02:04:52.979 GMT-0800 AM",
"status":"OK",
"total":1,
"data":[
{
"ResourceType":"s3bucket",
"ResourceActions":[
"AbortMultipartUpload",
"DeleteBucket",
"ForceDeleteBucket",
"DeleteBucketPolicy",
"DeleteObject",
"GetBucketLocation",
"GetBucketNotification",
"GetBucketPolicy",
"GetObject",
"HeadBucket",
"ListAllMyBuckets",
"ListBucket",
"ListBucketVersions",
"ListBucketMultipartUploads",
"ListMultipartUploadParts",
"PutBucketLifecycle",
"GetBucketLifecycle",
"PutBucketNotification",
"PutBucketEncryption",
"DeleteObjectTagging",
"PutBucketPolicy",
"PutObject",
"PutObjectRetention",
"GetObjectRetention",
"GetObjectLegalHold",
"PutObjectLegalHold",
"GetBucketObjectLockConfiguration",
"PutBucketObjectLockConfiguration",
"GetBucketTagging",
"PutBucketTagging",
"GetObjectVersion",
"GetObjectVersionTagging",
"DeleteObjectVersion",
"DeleteObjectVersionTagging",
"PutObjectVersionTagging",
"GetObjectTagging",
"PutObjectTagging",
"GetBucketEncryption",
"PutBucketVersioning",
"GetBucketVersioning",
"GetReplicationConfiguration",
"PutReplicationConfiguration"
]
}
]
}