Configuring User Permissions¶
If your cloud service account does not need individual IAM users, then you may skip this section. Your permissions to use OBS functions are not affected.
If IAM users are required, you need to grant them access permissions on OBS, because OBS is separately deployed from other cloud resources.
Log in to the management console with your account.
On the top menu bar, choose Service List > Management & Deployment > Identity and Access Management. The IAM console is displayed.
Create a user group and assign OBS permissions to it.
A user group is a collection of users. By assigning permissions to a user group, you assign permissions to the users in this group. After you create an IAM user, add it to one or more user groups, so that it can inherit the permissions from the groups.
In the navigation pane, choose User Groups. The User Groups page is displayed.
Click Create User Group.
Enter a user group name and click OK.
The user group is displayed in the user group list once the creation is complete.
Locate the user group you created and click Modify in the Operation column of the row.
In the Group Permissions area, locate OBS (S3), click Attach Policy in the Operation column, select the policy name, and click OK.
In the Policy Information area, you can view the details about the policy.
Due to data caching, an RBAC policy or a fine-grained policy involving OBS actions will take effect 10 to 15 minutes after it is attached to a user or a user group.
Create a user.
In the navigation pane, choose Users. The Users page is displayed.
Click Create User.
Set user information and click Next.
The user name for logging in to the cloud service.
A credential refers to the identity credential used for user system authentication. In this example, password is selected.
Password: Used for accessing cloud services using the console or development tools.
Access key: Used for logging to the cloud service using development tools. This credential type is more secure, and is recommended if the user does not need to use the console.
You can add a user to one or more user groups. Then the user will inherit the permissions granted to these user groups. The default user group admin has the administrator permissions and all of the permissions required to use all cloud resources.
(Optional) Brief description about the user.
Select a type for password generation, set the email address and mobile number, and click OK.
Use the created IAM user to log in to OBS Console and verify the user permissions.