Creating a User and Granting DCS Permissions
This section describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your DCS 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 DCS resources.
- Manage permissions on a principle of least permissions (PoLP) basis.
- Entrust a Huawei Cloud account or cloud service to perform efficient O&M on your DCS resources.
If your Huawei Cloud account does not require individual IAM users, skip this chapter.
This section describes the procedure for granting the DCS ReadOnlyAccess permission (see Figure 1) as an example.
Prerequisites
Learn about the permissions (see System-defined roles and policies supported by DCS) supported by DCS and choose policies or roles according to your requirements. For the permissions of other services, see Permissions Policies.
Process Flow
- Create a user group and assign permissions.
Create a user group on the IAM console, and assign the DCS ReadOnlyAccess policy to the group.
- Create a user and add it to a user group.
Create a user on the IAM console and add the user to the group created in 1.
- Log in and verify permissions.
Log in to the DCS console using the newly created user, and verify that the user only has read permissions for DCS.
- Choose Distributed Cache Service in Service List. Then click Buy DCS Instance in the upper right corner of the DCS console. If a DCS instance cannot be purchased, the DCS ReadOnlyAccess policy has already taken effect.
- Choose any other service in Service List. If a message appears indicating that you have insufficient permissions to access the service, the DCS ReadOnlyAccess policy has already taken effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.