You can use Identity and Access Management (IAM) to manage NAT Gateway permissions and control access to your resources. IAM provides identity authentication, permissions management, and access control.
You can create IAM users for your employees, and assign permissions to these users on a principle of least privilege (PoLP) basis to control their access to specific resource types. For example, you can create IAM users for software developers and assign specific permissions to allow them to use NAT Gateway resources but prevent them from being able to delete resources or perform any high-risk operations.
If your does not require individual IAM users, skip this section.
IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see What Is IAM?
By default, new IAM users do not have any permissions assigned. To assign permissions to these new users, the administrator needs to add them to one or more groups, and attach permissions policies or roles to these groups.
NAT Gateway is a project-level service deployed and accessed in specific physical regions. When assigning NAT Gateway permissions to a user group, specify region-specific projects where the permissions will take effect. If you select All projects, the permissions will be granted for all region-specific projects. When accessing NAT Gateway, the users need to switch to a region where they have been authorized to use this service.
You can grant users permissions by using roles and policies.
Policy Name |
Description |
Type |
---|---|---|
NAT FullAccess |
All operations on NAT Gateway resources. |
System-defined policy |
NAT ReadOnlyAccess |
Read-only permissions for all NAT Gateway resources. |
System-defined policy |
NAT Gateway Administrator |
Full permissions for all NAT Gateway resources. Users granted these permissions must also have the Tenant Guest permissions. |
System-defined role |
Table 2 lists the common operations supported by each NAT Gateway system policy or role. Select the policies or roles as required.
Operation |
NAT FullAccess |
NAT ReadOnlyAccess |
NAT Gateway Administrator |
---|---|---|---|
Creating a NAT gateway |
√ |
x |
√ |
Querying NAT gateways |
√ |
√ |
√ |
Querying NAT gateway details |
√ |
√ |
√ |
Updating a NAT gateway |
√ |
x |
√ |
Deleting a NAT gateway |
√ |
x |
√ |
Adding an SNAT rule |
√ |
x |
√ |
Viewing an SNAT rule |
√ |
√ |
√ |
Modifying an SNAT rule |
√ |
x |
√ |
Deleting an SNAT rule |
√ |
x |
√ |
Adding a DNAT rule |
√ |
x |
√ |
Viewing a DNAT rule |
√ |
√ |
√ |
Modifying a DNAT rule |
√ |
x |
√ |
Deleting a DNAT rule |
√ |
x |
√ |