Help Center> NAT Gateway> Service Overview> Permissions Management

Permissions Management

If you need to assign different permissions to employees in your enterprise to access your NAT Gateway resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you securely manage access to your HUAWEI CLOUD resources.

With IAM, you can use your HUAWEI CLOUD account to create IAM users, and assign permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to create and view NAT gateways but must not delete them or perform any high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using NAT gateways.

If your HUAWEI CLOUD account does not need individual IAM users for permissions management, you may skip over this topic.

IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.

NAT Gateway Permissions

By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.

To assign NAT gateway permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing NAT Gateway, the users need to switch to a region where they have been authorized to use the NAT Gateway service.

You can grant users permissions by using roles and policies.

  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you need to also assign other roles on which the permissions depend to take effect. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant NAT Gateway users only the permissions for managing a certain type of NAT gateways and SNAT rules. Most policies define permissions based on APIs. For the API actions supported by NAT Gateway, see Permissions Policies and Supported Actions.
Table 1 lists all the system-defined roles and policies supported by NAT Gateway.
Table 1 System-defined roles and policies supported by NAT Gateway

Policy Name

Description

Policy Type

Dependencies

NAT FullAccess

All operations on NAT Gateway resources.

Fine-grained policy

N/A

NAT ReadOnlyAccess

Read-only permissions for all NAT Gateway resources.

Fine-grained policy

N/A

NAT Gateway Administrator

All operations on NAT Gateway resources.

RBAC policy

All operations on NAT Gateway resources. To be granted this permission, users must also have the Tenant Guest permission.

Table 2 lists the common operations supported by each system-defined policy or role of NAT Gateway. Select the policies or roles as required.

Table 2 Common operations supported by each system-defined policy or role of NAT Gateway

Operation

NAT FullAccess

NAT ReadOnlyAccess

NAT Gateway Administrator

Creating NAT gateways

x

Querying NAT gateways

Querying NAT gateway details

Updating NAT gateways

x

Deleting NAT gateways

x