All Products
Search
Document Center

Resource Access Management:Disable an AccessKey pair for a RAM user

Last Updated:Mar 01, 2026

You can disable an AccessKey pair for a Resource Access Management (RAM) user to temporarily revoke their programmatic access to Alibaba Cloud resources. This action is useful if a user's role has changed or if you need to investigate a potential security incident without permanently deleting the key.

Background information

Warning

When you disable an AccessKey pair, it can no longer be used to make API calls. If the key is in use by an application, the application will fail. Proceed with caution.

Procedure

  1. Log on to the RAM console as a RAM administrator.

  2. In the left-side navigation pane, choose Identities > Users.

  3. On the Users page, click the username of the target RAM user.

  4. On the user details page, click the Authentication tab. In the AccessKey section, find the target AccessKey pair and click Disable in the Actions column.

    Note

    To re-enable the AccessKey pair, click Enable in the Actions column.

  5. In the Disable confirmation dialog box, click Disable.