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,170 points
138 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,180 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,180 points
74 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,180 points
214 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,180 points
147 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,180 points
77 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,180 points
176 views