Creating a User and Granting Permissions
This section describes how to use IAM for fine-grained permission management on your SWR resources. With IAM, you can:
- Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing SWR resources.
- Grant only the permissions required for users to perform a specific task.
- Entrust a cloud account or cloud service to perform efficient O&M on your SWR resources.
If your account does not need individual IAM users, you may skip this section.
This section describes the procedure for granting permissions (see Figure 1).
Prerequisite
Learn about the permissions supported by SWR and choose policies or roles based on your requirements.
- Create a user group and assign permissions.
Create a user group on the IAM console and click Authorize in the Operation column to assign the SWR Administrator permissions to the group.
- Create an IAM user and add the user to a user group.
Create a user on the IAM console and add it to the user group created in 1 by choosing Authorize in the Operation column.
- Log in as the IAM user and verify permissions.
Log in to the management console as the created user. Switch to the authorized region. Perform the following operations. If they can be successfully performed, the permissions are successfully granted.
- Choose Service List > Software Repository for Container. The SWR console is displayed.
- In the navigation pane on the left, choose Organization Management, click Create Organization in the upper right corner, and enter an organization name to create an organization.
- In the navigation pane on the left, choose My Images, click Upload Through SWR in the upper right corner. Select the organization created in the previous step and a local image file. The image is successfully uploaded.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot