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

How Do I Create 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, and create an AK/SK pair for the user.

Procedure

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

    • If the IAM users who will be added to this group need all SMS permissions, attach the system-defined policies SMS FullAccess, OBS OperateAccess, ECS FullAccess, and VPC FullAccess to the group.
    • If the IAM users only need 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.

Product Consultation FAQs

more