Deleting an EIM Access Key
You can delete an access key associated with a user, for example to remove their access to your resources. The access key can be in the Active
or Inactive
state.
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.
Deleting an EIM Access Key Using Cockpit v1
-
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 delete, click .
The user is selected and their associated access keys appear. -
Next to the access key you want to delete, click .
The DELETE ACCESS KEY dialog box appears. -
Click Delete to validate.
The access key is deleted and no longer appears on the Users page.
Deleting an EIM Access Key Using AWS CLI
To delete an access key, use the delete-access-key command following this syntax:
$ aws iam delete-access-key \
--profile YOUR_PROFILE \
--user-name USER_NAME \
--access-key-id NOPQR2STUVWX3YZABCDE \
--endpoint https://eim.eu-west-2.outscale.com
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 whose access key you want to delete.If you do not specify a user name, this action deletes an access key associated with the user who sends the request.
-
access-key-id
: The ID of the access key you want to delete. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The specified access key is deleted.
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.