Help Center> Virtual Private Network> User Guide> Permissions Management> Creating a User and Granting VPN Permissions
Updated on 2024-03-22 GMT+08:00

Creating a User and Granting VPN Permissions

Use the Identity and Access Management (IAM) service to implement fine-grained permissions control over your VPN 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 VPN resources.
  • Grant only the permissions required for users to perform a specific task.
  • Grant the permission to perform professional and efficient O&M on your VPN resources to other Huawei Cloud accounts or cloud services.

If your Huawei Cloud account does not need individual IAM users, skip this topic.

This section describes the procedure for granting permissions (see Figure 1).

Prerequisites

Learn about the permissions (see Permissions Management) supported by VPN and choose policies or roles based on your requirements. To grant permissions for other services, learn about all system-defined permissions supported by VPN.

Process Flow

Figure 1 Process of granting VPN permissions
  1. Create a user group and assign permissions to it.

    Create a user group on the IAM console and attach the VPN Administrator policy to the group.

  2. Create a user and add it to the user group.

    Create a user on the IAM console and add the user to the group created in 1.

  3. Log in and verify permissions.

    Log in to the management console as the created user. Switch to the authorized region and verify the permissions.

    • Click Service List and choose Networking > Virtual Private Network. On the Enterprise – VPN Gateways page, click Buy VPN Gateway in the upper right corner. If the VPN gateway is successfully created, the VPN Administrator 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 VPN Administrator policy has already taken effect.