Modifying the State of an EIM Access Key
You can modify the state of an access key to
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.
Hover over your name.
A drop-down menu appears.
Click Users and Policies Management .
In the EIM navigation panel, click Users.
The Users page appears.
Next to the user whose access key you want to modify, click .
The user is selected and their associated access keys appear.
Next to the access key whose state you want to modify, click .
The ACTIVATE/DEACTIVATE ACCESS KEY dialog box appears.
Click Update to validate.
The state of the access key is modified.
To modify the state of an access key, use the update-access-key command following this syntax:
$ aws iam update-access-key \ --profile YOUR_PROFILE \ --user-name USER_NAME \ --access-key-id NOPQR2STUVWX3YZABCDE \ --status Inactive \ --endpoint https://eim.eu-west-2.outscale.com
This command contains the following attributes that you need to specify:
profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
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 (
endpoint: The endpoint corresponding to the Region you want to send the request to.
The state of the specified access key is modified.
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.