Updated on 2024-12-20 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 users only the permissions required to perform a given task based on their job responsibilities.
  • Grant the permission to perform professional and efficient O&M on your VPN resources to other accounts or cloud services.

If your account meets your permissions requirements, you can skip this section.

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

Prerequisites

You have learned about the permissions supported by VPN, and determined the permissions to be granted to a user group. Before granting permissions of other services, learn about all permissions supported by IAM.

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 FullAccess 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 Create VPN Gateway to create a VPN gateway. If the VPN gateway is successfully created, the VPN FullAccess policy has already taken effect.
    • Click Service List and choose Networking > Virtual Private Network > Classic. Click Buy VPN Gateway to create a VPN gateway. If the VPN gateway is successfully created, the VPN FullAccess policy has already taken effect.
    • Select any service except the VPN service in Service List. If a message appears indicating that you have insufficient permissions to access the service, the VPN FullAccess policy has already taken effect.