This topic describes how to grant a Resource Access Management (RAM) user the permissions to perform operations on Log Audit Service.
Prerequisites
A RAM user is created. For more information, see Create a RAM user.
Background information
You can grant a RAM user the permissions to perform operations on Log Audit Service in one of the following modes:
Simple mode: You can grant all permissions on Simple Log Service to the RAM user. You do not need to configure parameters.
Custom mode: You can create custom policies and attach the policies to the RAM user. This mode allows you to perform fine-grained access control. However, the configurations in this mode are complex.
Simple mode
Log on to the RAM console by using your Alibaba Cloud account. Then, attach the AliyunLogFullAccess and AliyunRAMFullAccess policies to the RAM user. This way, the RAM user has all permissions on Simple Log Service. For more information, see Grant permissions to a RAM user.
Custom mode
Log on to the RAM console.
Create a policy.
Attach the policy to the RAM user.
In the left-side navigation pane, choose Identities > Users.
On the Users page, find the RAM user to which you want to attach the policy and click Add Permissions in the Actions column.
In the Policy section of the Grant Permission panel, select Custom Policy. Then, select the policy that you created in Step 2 and click Grant Permissions.
Verify that the policy is attached to the RAM user and click Close.