Updated on 2024-04-15 GMT+08:00

Introduction

You can use Identity and Access Management (IAM) for fine-grained permissions management of your EIP. If your does not need individual IAM users, you can skip this section.

By default, new IAM users do not have permissions assigned. You need to add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups. This way, they can perform specified operations on cloud services based on the permissions.

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user wants to query EIPs using an API, the user must have been granted permissions that allow the eip:publicIps:list action.

Supported Actions

EIP provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: statements in a policy that allow or deny certain operations
  • APIs: REST APIs that can be called by a user who has been granted specific permissions
  • Actions: specific operations that are allowed or denied in a custom policy
  • IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. For details about the differences between IAM and enterprise projects, see .

    √: supported; x: not supported

EIP supports the following actions that can be defined in custom policies:

EIP actions that supported by EIP APIs include assigning an EIP, querying an EIP, querying EIPs, updating an EIP, and deleting an EIP.