AliyunServiceRolePolicyForNasOssDataFlow

AliyunServiceRolePolicyForNasOssDataFlow 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForNasOssDataFlow 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2024-03-15 09:53:44

  • 更新时间:2024-03-15 09:53:44

  • 当前版本:v1

策略内容

{
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "oss:ListBuckets",
        "oss:GetBucketTagging"
      ],
      "Resource": [
        "acs:oss:*:*:*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "oss:HeadBucket",
        "oss:GetBucketLocation",
        "oss:GetBucketInventory",
        "oss:GetBucketInfo",
        "oss:GetBucketAcl",
        "oss:GetBucketStat",
        "oss:GetBucketVersioning",
        "oss:GetBucket",
        "oss:ListObjects",
        "oss:GetObject",
        "oss:PutObject",
        "oss:CopyObject",
        "oss:AppendObject",
        "oss:DeleteObject",
        "oss:GetObjectMeta",
        "oss:PutObjectACL",
        "oss:GetObjectACL",
        "oss:PutObjectTagging",
        "oss:GetObjectTagging",
        "oss:InitiateMultipartUpload",
        "oss:CompleteMultipartUpload",
        "oss:AbortMultipartUpload",
        "oss:ListMultipartUploads",
        "oss:UploadPart",
        "oss:UploadPartCopy",
        "oss:ListParts"
      ],
      "Resource": [
        "acs:oss:*:*:*",
        "acs:oss:*:*:*/*"
      ],
      "Condition": {
        "StringEqualsIgnoreCase": {
          "oss:tag/cpfs-dataflow": "true"
        }
      }
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "oss-dataflow.nas.aliyuncs.com"
        }
      }
    }
  ],
  "Version": "1"
}

相关文档