Help Center> Server Migration Service> FAQ> Product Consultation> How Do I Create an AK/SK Pair for an IAM User?

How Do I Create an AK/SK Pair for an IAM User?

Scenarios

When creating a migration task, you need to enter an AK/SK pair for authentication. To safeguard the resources in your account on the cloud service platform, you are advised to create an IAM user in the account, grant permissions to the user, and create an access key for the user.

Procedure

Creating a User Group and Assigning Permissions

  1. Log in to the management console.
  2. In the upper right corner of the page, click the username and choose Identify and Access Management.
  3. In the navigation pane on the left, choose User Groups.
  4. On the User Groups page, click Create User Group.
  5. (Optional) Enter the user group name and description, and click OK.

    The user group list is displayed, including the newly created user group.

  6. Locate the newly created user group, and click Manage Permissions in the Operation column.
  7. On the Permissions Assigned tab page, click Assign.
  8. Select Global service project for Scope, and select SMS FullAccess and OBS OperateAccess for Permissions. Click OK and return to the Permissions Assigned tab page.
  9. On the Permissions Assigned tab page, click Assign.
  10. Select Region-specific projects for Scope, select ECS FullAccess and VPC FullAccess for Permissions, and click OK.

    When assigning permissions to region-specific projects, you need to select the regions where the authorized projects are located. The authorization takes effect only in the authorized regions. If you want to apply the settings to all regions, select all projects.

Creating a User and Adding the User to the User Group

Create a user and add it to the user group. For details, see Creating an IAM User.

Subsequent Operations

If there is something wrong with an access key, for example, it is lost or stolen, or for some other reason will not be used any longer, delete the access key by referring to Managing Access Keys for an IAM User.