You need to enable JavaScript to run this app.
IAM

IAM

Copy page
Download PDF
Quickstarts
Grant user API key management permissions
Copy page
Download PDF
Grant user API key management permissions

How to grant key management privileges to child users

The key management function supports rights management through access control. When you create an IAM user, the user will not have key management permissions by default. You can add the following policies for child users, and the corresponding permissions will work as follows:

policy namepermission effect
AccessKeyFullAccessManage keys for all IAM users
AccessKeyReadOnlyAccessView the keys of all IAM users
AccessKeySelfManageAccessOnly manage the user's own keys

You can also customize policies to define permissions to manage the keys of a specified user. For example, the following policies allow you to create, delete, view, and update the keys of Bob, a child of the main account 2000012345:

{ 
    "Statement": [ 
        { 
            "Effect": "Allow", 
            "Action": [ 
                "iam:CreateAccessKey", 
                "iam:DeleteAccessKey", 
                "iam:UpdateAccessKey", 
                "iam:ListAccessKeys", 
                "iam:ListSecretKeys" 
            ], 
            "Resource": [ 
                "trn:iam::2000012345:user/Bob" 
            ] 
        } 
    ] 
}
Last updated: 2025.06.23 19:21:32