You can create IAM users under a registered cloud service account, and then use IAM policies to control users' access permissions to cloud resources.
IAM policies define the actions that can be performed on your cloud resources. In other words, IAM policies specify what actions are allowed or denied.
IAM policies with OBS permissions take effect on all OBS buckets and objects. To grant an IAM user the permission to operate OBS resources, you need to assign one or more OBS permission sets to the user group to which the user belongs.
For details about OBS permissions controlled by IAM policies, see Permissions Management.
IAM policies are used to authorize IAM users under an account.
A policy consists of a version and statements. Each policy can have multiple statements.

Policy syntax example:
{
"Version": "1.0",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:HeadBucket",
"s3:GetBucketLocation",
"s3:ListBucket"
]
}
]
}
Parameter |
Description |
|---|---|
Version |
The version number of a policy.
|
Statement |
Permissions defined by a policy, including Effect and Action.
|
The authentication of IAM policies starts from the Deny statements. The following figure shows the authentication logic for resource access.

The actions in each policy bear the OR relationship.