Help Center/ Server Migration Service/ FAQs/ Product Consultation/ How Do I Obtain an AK/SK Pair for an IAM User?
Updated on 2024-08-15 GMT+08:00

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

Scenarios

You need to provide an AK/SK pair when using SMS. To safeguard the resources in your account on Huawei Cloud, you are advised to create an IAM user, grant permissions to the user, create an AK/SK pair for the user, and use the user for migration.

Procedure

  1. Create a user group and assign permissions to it.

    • If the IAM user to be added to this group needs all SMS permissions, attach system-defined policies SMS FullAccess, OBS OperateAccess, ECS FullAccess, VPC FullAccess, and EVS FullAccess to the group.
    • If the IAM user only needs specific SMS permissions, create custom policies and attach these policies to the user group. For details, see SMS Custom Policies.

      Compared with system-defined policies, custom policies provide more fine-grained and secure permissions control.

  2. Create an IAM user.
  3. Grant permissions to the IAM user.

    Add the IAM user to the group created in step 1.

  4. Log in to the Huawei Cloud management console as the IAM user. For more information, see Logging In as an IAM User.
  5. Create an AK/SK pair of the IAM user. For details, see Access Keys.