How Do You Use a New IAM User Account?

Problem scenario
You want to assume an IAM user from a command line of an EC-2 instance. What do you do?

Solution
Prerequisite
This solution requires you have the access key and its secret key in text.

Procedures

  1. Run this command: aws configure
  2. Respond to the next two prompts accordingly (so that it will be configured to use the IAM user account of your choice). You may want to view an article about creating a new IAM user.

Leave a comment

Your email address will not be published. Required fields are marked *