AWS CLI: Creating an IAM Group, attaching a Policy and Adding a New User

The code provided is meant to illustrate various AWS CLI IAM commands that will: Create an IAM Group Attach an AWS Policy to allow the Group Administrator Access Create an IAM User Create a login profile for that user requiring password reset upon login Add the newly created IAM User to the newly created Group [...]

AWS CLI: Config, Credentials and Profiles

AWS CLI: Config, Credentials and Profiles

The AWS config file contains non-secret information. The AWS credentials file may contain access keys in one or more profiles. Use a profile to access different key pairs that may point to different accounts. An easy way to locate the config file is through: aws configure list Note the output: Your credentials file may contain [...]