All Products
Search
Document Center

Cloud Architect Design Tools:Permission management

Last Updated:Aug 30, 2024

Cloud Architect Design Tools (CADT) supports Resource Access Management (RAM) and Resource Management of Alibaba Cloud. Therefore, you can manage the permissions on CADT and applications and templates in CADT with ease.

Overview

On the Permission Management page of the CADT console, you can perform the following steps to manage permissions: create a RAM user, create a resource group, grant permissions to the RAM user, and add RAM authorization.

Note

The permission management feature of CADT is available only for Alibaba Cloud accounts.

  • Create a RAM user: Create a RAM user and authorize the RAM user to access related resources.

  • Create a resource group: Create a resource group to manage Alibaba Cloud resources based on dimensions such as business department and project.

  • Grant permissions to a RAM user: Grant permissions to the RAM user so that the RAM user can access the related Alibaba Cloud resources.

  • Add RAM authorization: Grant permissions on the resource group to a principal so that the principal obtains the permissions on resources in the resource group.

Image 6

In the following sections, an example is used to show you the application scenario and usage method of the permission management feature in CADT.

Example

In this example, two applications are created in CADT: app-test and app-dev. You need to grant specific permissions on the two applications to different RAM users. For example, you grant developers (the RAM user cadt-dev001) the permissions on only app-dev and testers (the RAM user cadt-test001) the permissions on only app-test.

Prerequisites

The applications app-test and app-dev are created in the CADT console. For more information, see Create a custom application. The following figure shows the created applications.

Image 19

Step 1: Create RAM users

You need to create two RAM users: cadt-dev001 for developers and cadt-test001 for testers.

  1. Log on to the CADT console by using an Alibaba Cloud account.

  2. In the top toolbar, choose Manage > Permission Management. The Permission Management page appears.

    Note

    The permission management feature of CADT is available only for Alibaba Cloud accounts.

    image

  3. On the Permission Management page, click Create User.Image 26

  4. Configure the following parameters to create the RAM user cadt-dev001, and click OK, as shown in the following figure.Image 9

  5. Create the RAM user cadt-test001 in the same way.

    The following figure shows the RAM users that you created.

    Image 11

Step 2: Create resource groups

Create two resource groups to isolate resources: dev for the development environment and test for the test environment, which correspond to the operating environments of developers and testers.

  1. On the Permission Management page, click Create Resource Group.image

  2. Configure the parameters to create the resource group dev, and click OK, as shown in the following figure.Image 10

  3. Create the resource group test in the same way.

    The following figure shows the resource groups that you created.Image 28

Step 3: Grant permissions on resource groups to the RAM users

After the RAM users and resource groups are created, you must grant the RAM users the permissions on cloud resources in the specific resource groups.

  1. On the Permission Management page, click User authorization or Resource group authorization. imageIn this example, User authorization is used.

  2. Find the RAM user to which you want to grant permissions, such as cadt-dev001, and click Add Permissions in the Actions column.Image 13

  3. In the Add Permissions panel, configure the following parameters and click OK:

    • Authorized Scope: Specify the dev resource group, which corresponds to the RAM user cadt-dev001.

    • Principal: Specify cadt-dev001.

    • Select Policy: For information about the system policies of CADT, see System policies of CADT and usage notes. If the system policies do not meet your requirements, you can create custom policies for CADT to implement fine-grained permission management. For more information, see Create custom policies for CADT

      In this example, Full permissions on CADT are granted to the RAM user cadt-dev001.image

  • Grant permissions to the RAM user cadt-test001 in the same way.

Step 4: Grant the permissions on the CADT applications

After you grant permissions on resource groups to the RAM users, you must add the CADT applications to the corresponding resource groups. This way, the RAM user in the corresponding resource group can obtain the permissions on the corresponding CADT applications.

  1. On the Permission Management page, find a resource group, such as the resource group dev for the development environment, and click Authorize.Image 18

  2. In the Authorize dialog box, select My Applications or My Templates, select the application or template to which you want to grant the permissions, and then click Authorize in the Actions column, as shown in the following figure.Image 20

  3. The following figure shows that the application app-dev is granted the permissions.Image 21

  4. Add the application app-test to the resource group test in the same way.Image 5

Step 5: Verify the results

After you complete the preceding steps, verify that the RAM user cadt-dev001 has the permissions on only the application app-dev and that the RAM user cadt-test001 has the permissions on only the application app-test.

  1. In the RAM console that you log on to by using your Alibaba Cloud account, obtain the logon URL on the Overview page.Image 33

  2. Access the logon URL in a new incognito tab of the browser or by using another browser, and enter the username and password to log on. For example, log on as the RAM user cadt-dev001.Image 22Image 23

  3. In the CADT console, you can view that the RAM user cadt-dev001 has the permissions on only the development environment, which passes the verification. Switch to the development environment.Image 34

  4. Choose Application > My Applications. On the page that appears, you can view that only the application app-dev is available under the RAM user cadt-dev001, which passes the verification.

    image

  5. Repeat the preceding steps to verify the RAM user cadt-test001.image