Skip to content

Instantly share code, notes, and snippets.

@andrewp-as-is
Last active July 18, 2021 23:09
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 andrewp-as-is/cd78034dfc321f1b0913c74cfe057772 to your computer and use it in GitHub Desktop.
Save andrewp-as-is/cd78034dfc321f1b0913c74cfe057772 to your computer and use it in GitHub Desktop.
AWS IAM create-user
#!/usr/bin/env bash
USERNAME="username"
# aws iam delete-user --user-name "$USERNAME" 2> /dev/null
aws iam create-user --user-name "$USERNAME" # --tags Key=Purpose,Value=workout
# https://console.aws.amazon.com/iam/home#/users
# Users -> $username -> Security credentials -> Create access key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment