All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Assign a role to an IAM user

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

The following policy grants KS3 permissions. However, all requests must originate from the specified IP address range.

To assign a role to an IAM user, perform the following steps:

  1. Create a role and grant permissions to the role.
  2. Select a trusted account for the role. The trusted account can be the current Kingsoft Cloud account or another Kingsoft Cloud account.
  3. Create an IAM user under the trusted account and attach the following policy to the IAM user:
{
    "Version": "2015-11-01",
    "Statement": [
       {
          "Effect": "Allow",
          "Action": "sts:AssumeRole",
          "Resource":"krn:ksc:iam::{Trusted account ID}:role/{Rule name}"
       }
    ]
}
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback