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,230 points
1,221 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,440 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,440 points
567 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,440 points
1,616 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,440 points
417 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,440 points
1,883 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP