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

0 votes

Hi Team,

I have created an access key in AWS. I want to deactivate an access key for an IAM user from the command line. How can I do that?

Nov 4, 2020 in AWS by akhtar
• 38,260 points
2,277 views

1 answer to this question.

0 votes

Hi@akhtar,

The following update-access-key command deactivates the specified access key (access key ID and secret access key) for the IAM user.

$ aws iam update-access-key --access-key-id AKIAIOSFODNN7EXAMPLE --status Inactive --user-name Bob
answered Nov 4, 2020 by MD
• 95,460 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,460 points
806 views
0 votes
1 answer
+1 vote
1 answer

How to create an IAM user in AWS?

Hi@akhtar, To create new user in AWS, you ...READ MORE

answered Jun 1, 2020 in AWS by MD
• 95,460 points
1,391 views
0 votes
1 answer

How to configure credentials for IAM user in CLI?

Hi@akhtar, To pass credentials for your IAM user ...READ MORE

answered Jun 10, 2020 in AWS by MD
• 95,460 points
728 views
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,460 points
652 views
0 votes
1 answer

How to delete an access key for an IAM user?

Hi@akhtar, If you do not specify a user ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,429 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