This topic introduces the basic concepts that are used in Resource Access Management (RAM).
Terms for identity management
|Alibaba Cloud account||
Before you use Alibaba Cloud services, you must create an Alibaba Cloud account. The Alibaba Cloud account is the owner of Alibaba Cloud resources. The Alibaba Cloud account is charged for all the resources that it owns. The Alibaba Cloud account has full control over the resources.
By default, only the Alibaba Cloud account can access Alibaba Cloud resources. Other users can access resources only after being explicitly authorized by the Alibaba Cloud account. The Alibaba Cloud account is similar to the administrator or root user of an operating system.
|identity||RAM provides three types of identities: RAM user, RAM user group, and RAM role. RAM users and RAM user groups are physical identities. RAM roles are virtual identities.|
|default domain name||
A unique identifier of an Alibaba Cloud account. Alibaba Cloud assigns a default domain name to each Alibaba Cloud account. The format of the default domain name is
For more information, see View and modify the default domain name.
|account alias or enterprise alias||
A unique identifier of an Alibaba Cloud account. When a RAM user logs on to the Alibaba Cloud Management Console, the suffix of the logon name can be the account alias, default domain name, or domain alias.
Each Alibaba Cloud account can have an account alias. The account alias is used for RAM user logon and can be displayed after successful logon.
For example, an enterprise can set the account alias of its Alibaba Cloud account to company1. The RAM user named alice that belongs to this Alibaba Cloud account can log on to the Alibaba Cloud Management Console by using alice@company1. After the logon succeeds, the display name of the RAM user is alice@company1.
A custom domain name that you can use to replace the default domain name. The custom domain name must be publicly resolvable. A domain alias is the alias of the default domain name.
Note A domain alias can be used only after the ownership of the custom domain is verified. After the ownership of the custom domain is verified, you can use the domain alias to replace the default domain name in all scenarios in which the default domain name is required.
For more information, see Create and verify a domain alias.
A physical identity that has a fixed ID and credential information. A RAM user represents a person or an application.
For more information, see Create a RAM user.
An identity credential that is used to log on to the Alibaba Cloud Management Console.
Note You cannot query the logon password. We recommend that you change your password on a regular basis and keep your password confidential.
An identity credential that is used to verify access identities. Each AccessKey pair consists of an AccessKey ID and an AccessKey secret. You can use your AccessKey pair or Alibaba Cloud SDK to sign API requests that you send to Alibaba Cloud. The AccessKey ID and AccessKey secret are used for symmetric encryption and identity verification. After the identity is verified, you can manage Alibaba Cloud resources by calling operations.
An AccessKey ID is used in combination with an AccessKey secret. The AccessKey ID is used to identify a user, and the AccessKey secret is used to authenticate the key of the user.
Note The AccessKey secret is displayed only when you create an AccessKey pair, and is unavailable for subsequent queries. We recommend that you save the AccessKey secret for subsequent use.
For more information, see Create an AccessKey pair for a RAM user.
|multi-factor authentication (MFA)||
A security enhancement that adds an extra layer of protection in addition to your username and password. MFA enhances security for your account. If MFA is enabled for a user, the user must perform the following operations when the user logs on to the Alibaba Cloud Management Console:
|RAM user group||
A physical identity that contains a group of RAM users. You can create RAM user groups to classify and authorize RAM users. This simplifies the management of RAM users and permissions.
A virtual identity that you can create within your Alibaba Cloud account. RAM roles, entity users, and textbook roles have the following differences. Entity users include Alibaba Cloud accounts, RAM users, or Alibaba Cloud services.
RAM roles are classified into the following types based on trusted entities:
For more information, see Create a RAM role for a trusted Alibaba Cloud account and Create a RAM role for a trusted Alibaba Cloud service.
Terms for access control
Indicates whether a user is allowed to perform specific operations on a specific Alibaba Cloud resource. Permissions include Allow and Deny.
Operations include the following two types:
A set of permissions that are described based on the policy structure and syntax. You can use policies to describe the authorized resource sets, authorized operation sets, and authorization conditions. A policy is a type of simple language specification that describes a set of permissions. For more information, see Policy structure and syntax.
In RAM, a policy is a resource entity. RAM supports the following two types of policy:
You can attach one or more policies to RAM users, RAM user groups, and RAM roles. For more information, see Grant permissions to a RAM user, Grant permissions to a RAM user group, and Grant permissions to a RAM role.
|principal||The subject to which a specific permission is granted. The authorized principal can be a RAM user, RAM user group, or RAM role.|
|effect||The authorization effect. The effect is a basic element of a policy. Valid values are Allow and Deny.|
|action||The operation to be performed on a specific Alibaba Cloud resource. The action is a basic element of a policy. Valid values are the names of operations from Alibaba Cloud services.|
|condition||The condition for the authorization to take effect. The condition is a basic element of a policy.|
|resource||A manageable object that is provided by an Alibaba Cloud service. For example, objects can be OSS buckets and ECS instances.|