Last active
October 2, 2019 21:24
-
-
Save rossarioking/a7e4c4240efe0b27e7eb99087fdb59ec to your computer and use it in GitHub Desktop.
Creating an IAM User and Security Group #AWS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\\Create an AWS IAM User Account | |
aws iam create-user --user-name Robert | |
\\Generates an Access & Secret Access Key for User Account | |
aws iam create-access-key --user-name Robert | |
\\Creates an IAM Security Group | |
aws iam create-group --group-name Administrators | |
\\Adds User account to IAM Group | |
aws iam add-user-to-group --user-name Robert --group-name Administrators | |
\\Assigns IAM Policy to Security Group | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name Administrators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment