Delete IAM User Access Keys

  1. Click Data Management on the top menu and select Accounts on the left.

    ../../../_images/accounts_banner.png
  2. Select the account managing the IAM User for whom you want to delete an Access Key.

    ../../../_images/accounts_accounts_list.png
  3. Under the Users tab, click the eye icon next to the user name.

    ../../../_images/account_users_list_access_key_button.png

    The IAM User’s Access Keys appear.

  4. Click the Delete button corresponding to the Access Key you want to delete.

    ../../../_images/access_keys_list_delete_button.png

    Note

    If the Access Key is active, you must disable it first by toggling the switch in the Status column.

    A dialog box appears asking for confirmation.

  5. Click Delete to confirm the Access Key Deletion.

The IAM User’s Access Key no longer appears in the list.

../../../_images/access_keys_list_deleted_key.png

You can use the DeleteAccessKey API to delete Access Keys and Secret Keys for your IAM Users. Unlike accounts, you must specify a user name here.

To delete IAM User Access Keys using AWS CLI, follow the delete-access-key procedure.

Prerequisites

  1. ARTESCA is installed.

  2. User account created.

  3. Access keys created.

Delete IAM User Access Key

Note

List access-keys for a user-name iam-user with the command:

[artesca-os@bootstrap ~]$
aws --endpoint-url http://iam.<base-domain-name> iam list-access-keys --user-name <iam-user>
Copy

Delete an access-key-id access-key and a user-name iam-user with the command:

[artesca-os@bootstrap ~]$
aws --endpoint-url https://iam.<base-domain-name> iam delete-access-key --access-key-id <access-key> --user-name <iam-user>.
Copy

Output

No output when command is successful.