All Products
Search
Document Center

Resource Access Management:AliyunCSManagedCsiProvisionerRolePolicy

更新時間:Nov 19, 2024

AliyunCSManagedCsiProvisionerRolePolicy is the authorization policy dedicated to a service role. In most cases, when a service role is created, the policy is attached to the service role. Then, the service role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service role.

Policy details

  • Type: service system policy

  • Creation time: 16:25:39 on June 04, 2024

  • Update time: 16:25:39 on June 04, 2024

  • Current version: v1

Policy content

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:AttachDisk",
                "ecs:DetachDisk",
                "ecs:DescribeDisks",
                "ecs:CreateDisk",
                "ecs:ResizeDisk",
                "ecs:CreateSnapshot",
                "ecs:DeleteSnapshot",
                "ecs:AddTags",
                "ecs:RemoveTags",
                "ecs:DescribeTags",
                "ecs:DescribeSnapshots",
                "ecs:ListTagResources",
                "ecs:TagResources",
                "ecs:UntagResources",
                "ecs:ModifyDiskSpec",
                "ecs:CreateSnapshot",
                "ecs:DescribeSnapshotGroups",
                "ecs:CreateSnapshotGroup",
                "ecs:DeleteSnapshotGroup",
                "ecs:DeleteDisk",
                "ecs:DescribeInstanceAttribute",
                "ecs:DescribeInstanceHistoryEvents",
                "ecs:DescribeTaskAttribute",
                "ecs:DescribeInstances"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        },
        {
            "Action": [
                "nas:DescribeFileSystems",
                "nas:DescribeMountTargets",
                "nas:AddTags",
                "nas:DescribeTags",
                "nas:RemoveTags",
                "nas:CreateFileSystem",
                "nas:DeleteFileSystem",
                "nas:ModifyFileSystem",
                "nas:CreateMountTarget",
                "nas:DeleteMountTarget",
                "nas:ModifyMountTarget",
                "nas:TagResources",
                "nas:SetDirQuota",
                "nas:EnableRecycleBin",
                "nas:GetRecycleBinAttribute",
                "nas:DescribeProtocolMountTarget",
                "nas:CancelDirQuota",
                "nas:DescribeDirQuotas",
                "nas:CreateDir",
                "nas:GetRecycleBinAttribute",
                "nas:DescribeAccessPoint",
                "nas:CreateAccessPoint",
                "nas:DescribeAccessPoints"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        },
        {
            "Action": [
                "cs:CreateResourcesSystemTags",
                "cs:DescribeTemplateAttribute",
                "cs:DescribeTemplates"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        },
        {
            "Action": [
                "ens:DescribeInstances",
                "ens:DescribeDisks",
                "ens:ModifyDiskAttribute",
                "ens:CreateDisk",
                "ens:DetachDisk",
                "ens:AttachDisk",
                "ens:DeleteDisk"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        },
        {
            "Effect": "Allow",
            "Action": [
                "oss:PutObject",
                "oss:IsObjectExist",
                "oss:ListObjects",
                "oss:GetObject",
                "oss:DeleteObject",
                "oss:GetBucket"
            ],
            "Resource": "acs:oss:*:*:cnfs-oss*"
        }
    ]
}

References