OSS External ID Authorization¶
External ID Authorization¶
-
Click Go to Authorize to enter the Console.
-
Navigate to RAM Access Control > Roles and select Create Role:
- Complete creating the role:
- Modify the role's trust policy management
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "<外部ID>"
}
},
"Effect": "Allow",
"Principal": {
"RAM": [
"acs:ram::<被授权的账号ID>:user/<用户名>"
]
}
}
],
"Version": "1"
}
- Create a permission policy
- Navigate to RAM Access Control > Permission Policies and click Continue Editing:
- Enter a permission name and click OK:
- Add authorization for the role.
In Roles > Permission Management, click Add Authorization:






