Modifying the State of an EIM Access Key

You can modify the state of an access key to Active or Inactive to enable or disable it for API requests. For more information, see About EIM Users > Users Credentials.

You can use this action for access keys associated with the root user. Therefore, you can use it to manage root credentials even if the OUTSCALE account has no associated EIM users.

Modifying the State of an EIM Access Key Using Cockpit v1

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management .

  3. In the EIM navigation panel, click Users.
    The Users page appears.

  4. Next to the user whose access key you want to modify, click .
    The user is selected and their associated access keys appear.

  5. Next to the access key whose state you want to modify, click .
    The ACTIVATE/DEACTIVATE ACCESS KEY dialog box appears.

  6. Click Update to validate.
    The state of the access key is modified.

Modifying the State of an EIM Access Key Using AWS CLI

To modify the state of an access key, use the update-access-key command following this syntax:

Request sample
$ aws iam update-access-key \
    --profile YOUR_PROFILE \
    --user-name USER_NAME \
    --access-key-id NOPQR2STUVWX3YZABCDE \
    --status Inactive \

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • (optional) user-name: The common name of the user.

  • access-key-id: The ID of the access key.

  • status: The new state for the access key (Active | Inactive).

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The state of the specified access key is modified.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.