Identity management

Updated at:

To secure your Alibaba Cloud account and cloud resources, avoid using your Alibaba Cloud account (root account) to access Intelligent Speech Interaction. Use a Resource Access Management (RAM) identity, such as a RAM user, to access Intelligent Speech Interaction.

RAM users

A RAM user must be created by an Alibaba Cloud account (root account) or another RAM user with administrative permissions. After creation, the RAM user must be granted permissions to log on to the console or use an API to access resources under the Alibaba Cloud account.

Follow these best practices for using RAM users:

  • Use your Alibaba Cloud account to create a RAM user and grant administrative permissions to this RAM user. Then, use this RAM user to create and manage other RAM users.

  • Separate human users from programmatic users.

    When you create a RAM user, you can enable two access modes: Console access and Programmatic access.

    Console users use a username and password to access the product console. Programmatic users use an AccessKey pair to call APIs and access cloud resources. Separate these two use cases to prevent operational errors from affecting your services. For users who access the console, enable multi-factor authentication (MFA).

  • Grant RAM users the least privilege required.

    Least privilege is the practice of granting a user only the permissions required to perform a specific task. This practice improves data security and reduces security risks caused by permission abuse.

  • Do not store the AccessKey ID and AccessKey secret in your project code. This can lead to an AccessKey pair leak, which threatens the security of all resources in your account. Instead, use methods such as Security Token Service (STS) or environment variables to obtain authorization.

  • If applicable, configure single sign-on (SSO) for RAM users. This lets users log on and access Alibaba Cloud resources with their existing corporate identities.

Related operations for RAM users

RAM user groups

If you use your Alibaba Cloud account to create multiple RAM users, you can group the RAM users to facilitate permission management. For example, you can grant the same permissions to RAM users in the same RAM user group. We recommend that you take note of the following items:

  • Grant permissions to RAM user groups based on the principle of least privilege.

  • Remove a RAM user from the RAM user group if the work duties of the RAM user change.

  • Revoke permissions from RAM user groups if the RAM user groups no longer need the permissions.

Related operations

Identity management references