Grant permissions to multiple master accounts

Last updated:2021-04-28 11:04:15

The following policy grants the ks3:PutObject and ks3:PutObjectAcl operation permissions on all objects in the example_bucket bucket to Kingsoft Cloud accounts whose user IDs are 12345 and 23648.

{
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ks3:PutObject",
        "ks3:PutObjectAcl"
      ],
      "Principal": {
        "KSC": [
          "krn:ksc:iam::12345:root",
          "krn:ksc:iam::23648:root"
        ]
      },
      "Resource": [
        "krn:ksc:ks3:::example_bucket/*"
      ]
    }
  ]
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈