You must grant permissions to a RAM user before the RAM user can call OpenSearch LLM-Based Conversational Search Edition by using API operations or SDKs with an AccessKey pair for authentication, or use OpenSearch LLM-Based Conversational Search Edition in the console. If multiple users in your enterprise need to access the service collaboratively, you can create multiple RAM users and grant each of them only the minimum permissions they require. This prevents multiple users from sharing the password or AccessKey pair of your Alibaba Cloud account (root account), which improves management efficiency and reduces the risk of information leaks. This topic describes how to create a RAM user and grant the RAM user permissions to manage Alibaba Cloud OpenSearch LLM-Based Conversational Search Edition, such as viewing the instance list and viewing instance details.
Prerequisites
At least one RAM user is created for your Alibaba Cloud account (root account). For more information, see Create a RAM user.
Procedure
Log on to the RAM console by using an administrator account.
RAM supports the following two types of policies:
System policies managed by Alibaba Cloud: These policies are created by Alibaba Cloud. You can use but cannot modify them. Version updates of these policies are maintained by Alibaba Cloud.
Custom policies managed by customers: You can create, update, and delete these policies. Version updates of these policies are maintained by you.
(Optional) Create a custom policy.
If the system policies provided by Alibaba Cloud do not meet your requirements, you can refer to Authorization rules of applications to create a custom policy that follows the principle of least privilege and implements fine-grained permission management. For more information, see Create a custom policy.
Examples of common minimum permission combinations
Grant permissions to the RAM user.
Attach a system policy or a created custom policy to the RAM user so that the RAM user has the permissions to access or manage the related resources. For more information, see Manage RAM user permissions. After you configure or update permissions for a RAM user, the changes take effect after a delay of 5 minutes.
After the permissions are granted, the RAM user can log on to the console to manage OpenSearch.
For more information, see Log on to the Alibaba Cloud console as a RAM user.
References
You can view the permissions granted directly to a RAM user and the permissions that the RAM user inherits from user groups. For more information, see View RAM user permissions.
If a RAM user no longer requires specific permissions or leaves the organization, you can revoke the permissions. For more information, see Revoke permissions from a RAM user.
You can view the multi-factor authentication (MFA) methods supported for RAM users, as well as the usage notes and limits. For more information, see Multi-factor authentication (MFA).