Skip to content

Instantly share code, notes, and snippets.

@stuartellis
Created April 29, 2022 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartellis/de0a38be23d1b0f3e971afd0445fad76 to your computer and use it in GitHub Desktop.
Save stuartellis/de0a38be23d1b0f3e971afd0445fad76 to your computer and use it in GitHub Desktop.
AWS Create IAM User CLI
aws iam create-user --user-name aaa --tags Key=sje:resource:email,Value=aws@stuartellis.name Key=sje:resource:phase,Value=poc
aws iam attach-user-policy --user-name aaa --policy-arn arn:aws:iam::aws:policy/AdministratorAccess
aws iam create-access-key --user-name aaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment