Skip to content

Instantly share code, notes, and snippets.

@ddollar
Forked from nzoschke/create-convox-support.sh
Created October 24, 2017 19:40
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 ddollar/a708bfc20e51550a0e53644acc415fa1 to your computer and use it in GitHub Desktop.
Save ddollar/a708bfc20e51550a0e53644acc415fa1 to your computer and use it in GitHub Desktop.
Creating a convox-support IAM User and Login
$ aws iam create-user --user-name convox-support
{
"User": {
"UserName": "convox-support",
"Path": "/",
"CreateDate": "2015-08-09T15:16:09.027Z",
"UserId": "AIDAIEXRZQYWRHLT6NX6O",
"Arn": "arn:aws:iam::901416387788:user/convox-support"
}
}
$ aws iam attach-user-policy --user-name convox-support --policy-arn arn:aws:iam::aws:policy/AdministratorAccess
$ aws iam create-login-profile --user-name convox-support --password '&1-3a6u:RA0djs' --password-reset-required
{
"LoginProfile": {
"UserName": "convox-support",
"CreateDate": "2015-08-09T15:23:20.493Z",
"PasswordResetRequired": true
}
}
# Now support@convox.com can login on https://901416387788.signin.aws.amazon.com/console and set a new password
$ aws iam delete-login-profile --user-name convox-support
$ aws iam delete-user --user-name convox-support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment