How to delete an access key for an IAM user

0 votes

Hi Team,

I have created an access key for an IAM user. Now I don't need the access key. How can I delete the access key?

Nov 3, 2020 in AWS by akhtar
• 38,170 points
175 views

1 answer to this question.

0 votes

Hi@akhtar,

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. The following delete-access-key command deletes the specified access key for the IAM user.

$ aws iam delete-access-key --access-key-id AKIDPMS9RO4H3FEXAMPLE --user-name Bob
answered Nov 3, 2020 by MD
• 95,160 points

Related Questions In AWS

0 votes
1 answer

How to create a password for an IAM user?

Hi@akhtar, You can create a password for the specified ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,160 points
74 views
0 votes
1 answer

How to delete an IAM user using AWS CLI?

Hi@akhtar, You can delete the specified IAM user. ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,160 points
86 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create an access key for an IAM user in AWS?

Hi@akhtar, You can create a new AWS secret ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,160 points
77 views
0 votes
1 answer

How to activate or deactivate an access key for an IAM user?

Hi@akhtar, The following update-access-key command deactivates the specified access key ...READ MORE

answered Nov 4, 2020 in AWS by MD
• 95,160 points
136 views