This topic explains the key concepts of Resource Access Management (RAM) to help you understand and use the service effectively.
Identity management concepts
|
Term |
Description |
|
Alibaba Cloud account |
To use Alibaba Cloud, you must register an Alibaba Cloud account. An Alibaba Cloud account is the fundamental entity for resource ownership, metering, and billing. The account pays for all the resources it owns and has full control over them. By default, only the Alibaba Cloud account can access its resources. Any other user requires explicit authorization from the account. An Alibaba Cloud account is equivalent to a As a security best practice, avoid using your Alibaba Cloud account to log on to the console or create an AccessKey pair unless absolutely necessary. We recommend creating a RAM user under your Alibaba Cloud account, granting it administrative permissions, and using that RAM user for all management tasks. |
|
account administrator |
An account administrator has full management permissions for all resources in the account. An account administrator can be the Alibaba Cloud account (the main account) or a RAM user with the |
|
RAM administrator |
A RAM administrator has management permissions for all RAM resources within the account. A RAM administrator can be the Alibaba Cloud account (the main account) or a RAM user with the |
|
identity |
RAM provides three types of identities: RAM users, RAM user groups, and RAM roles. RAM users and RAM user groups are physical identities, while RAM roles are virtual identities. |
|
default domain name |
Alibaba Cloud assigns a Default Domain to each Alibaba Cloud account in the format For more information about how to set the default domain name, see Manage logon domains for RAM users. |
|
account alias |
An account alias is also called an enterprise alias. The default value for an account alias is your Alibaba Cloud Account ID For example, if an enterprise sets its account alias to For more information about how to set an account alias, see Manage logon domains for RAM users. |
|
domain alias |
If you own a publicly resolvable domain name, you can use it as a Domain Alias to replace your default domain name. Note
You must verify the ownership of a domain alias before you can use it. Once verified, you can use the domain alias in place of the default domain name in all applicable scenarios. For more information about how to set a domain alias, see Create and verify a domain alias. |
|
RAM user |
A RAM user is a physical identity type in RAM with a fixed identity ID and credentials. It typically corresponds to a specific person or application. A RAM user has the following characteristics:
For more information about how to create a RAM user, see Create a RAM user. |
|
password |
A password is an identity credential used to log on to Alibaba Cloud and verify a user's identity. Note
Passwords cannot be retrieved. Keep your password confidential and change it regularly. For more information about how to set the password of a RAM user, see Change the logon password of a RAM user. |
|
AccessKey pair |
An AccessKey pair is a long-term access credential provided by Alibaba Cloud for programmatic access. It consists of an AccessKey ID and an AccessKey secret.
RAM generates the AccessKey ID and AccessKey Secret. Alibaba Cloud encrypts them during both storage and transmission. You cannot use an AccessKey pair to log on to the Alibaba Cloud console. Instead, use it for programmatic access to Alibaba Cloud APIs with tools like the CLI, SDKs, and Terraform. For more information about how to create an AccessKey pair, see Create an AccessKey pair. |
|
MFA |
Multi-factor authentication (MFA) is a simple and effective security best practice that adds an extra layer of protection in addition to a username and password. This combination provides enhanced security for your account. When MFA is enabled, you must provide two factors of authentication when you log on:
For more information about how to set up MFA, see Enable a RAM user to bind an MFA device. |
|
RAM user group |
A RAM user group is an identity for managing RAM users who have the same responsibilities. Instead of assigning permissions to each user, you can assign them to the group, which simplifies management.
|
|
RAM role |
A RAM role is a virtual identity that can be granted a set of policies. Unlike a RAM user, a RAM role does not have long-term credentials like a password or an AccessKey pair. Instead, a RAM role is designed for a trusted entity to assume. After assuming a role, the entity receives a temporary STS token to access authorized resources. RAM roles are categorized based on the type of trusted entity:
|
|
SP |
A service provider (SP) is an application that provides services to users by using the identity management functions of an IdP. The SP uses the user information provided by the IdP. In some identity systems that do not use the SAML protocol, such as OpenID Connect, an SP is also known as a relying party. |
|
IdP |
A RAM entity that contains metadata about an external identity provider (IdP), which is a service that offers identity management.
|
|
SAML 2.0 |
A standard protocol for enterprise user authentication and one of the technical implementations for communication between an SP and an IdP. Security Assertion Markup Language (SAML) 2.0 is the de facto standard for implementing enterprise SSO. |
|
SSO |
Alibaba Cloud supports SSO based on SAML 2.0 and OpenID Connect (OIDC), also known as identity federation. Alibaba Cloud provides two SSO methods:
|
|
metadata file |
The enterprise IdP provides this file, typically in XML format. It contains information such as the IdP's logon service URL, the public key for signature verification, and the assertion format. |
|
SAML assertion |
A core element in the SAML protocol used to describe authentication requests and responses. For example, specific user attributes are included in the assertion of an authentication response. |
|
trust |
A mutual trust mechanism established between an SP and an IdP, typically implemented using public and private keys. The SP securely obtains the IdP's SAML metadata, which contains the public key for verifying the signature of SAML assertions issued by the IdP. The SP uses this public key to verify the integrity of the assertions. |
|
Alibaba Cloud OAuth 2.0 service |
Authenticates a user, accepts the user's authorization for an application, generates a token that represents the user's identity, and returns it to the authorized application. |
|
OAuth application |
Obtains user authorization and acquires a token representing the user's identity to access Alibaba Cloud. The OAuth 2.0 service currently supports the following application types:
|
|
OAuth scope |
The OAuth 2.0 service uses OAuth scopes to limit the scope of access that an application has on behalf of a user after the user logs on to Alibaba Cloud. |
Access control concepts
|
Term |
Description |
|
permission |
A permission defines whether a user can perform a specific action on a specific resource. The effect can be either Allow or Deny. Actions are divided into two main categories:
|
|
policy |
A policy is a set of permissions, defined with a specific syntax and structure, that precisely describes the authorized resources, actions, and conditions. For more information about the language specification supported by RAM, see Policy structure and syntax. In RAM, a policy is a resource entity. RAM supports the following two types of policies:
By attaching policies to RAM users, RAM user groups, or RAM roles, you grant them the permissions defined in those policies. 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 |
A principal is the entity that receives the permissions defined in a policy. A principal can be a RAM user, a RAM user group, or a RAM role. |
|
effect |
A basic element of a policy that specifies the outcome of the authorization. The value can be Allow or Deny. |
|
action |
A basic element of a policy that specifies the operation on a resource. The value is the name of an API action defined by the cloud service. |
|
condition |
A basic element of a policy that specifies the conditions under which the policy takes effect. |
|
resource |
A resource is an object within a cloud service, such as an OSS bucket or an ECS instance. |
|
ARN |
An ARN is a global resource name that Alibaba Cloud defines for each resource. For RAM authorization, the ARN uses the following format:
|