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

0 votes

Hi Team,

I have created an IAM user in AWS. I want to create an access key from CLI. How can I do that?

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

1 answer to this question.

0 votes

Hi@akhtar,

You can create a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is Active. The following create-access-key command creates an access key (access key ID and secret access key) for the IAM user.

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

Related Questions In AWS

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
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 create or update tags for an Auto Scaling group in AWS?

Hi@akhtar, You can create or update tags for the specified ...READ MORE

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

How to create a notification subscription for an event in AWS RedShift?

Hi@akhtar, You can create an Amazon Redshift event notification ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,160 points
82 views
0 votes
1 answer
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,160 points
213 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,160 points
175 views