Skip to content

Instantly share code, notes, and snippets.

@eugeneteo
Last active March 13, 2016 03:01
Show Gist options
  • Save eugeneteo/2dcf781174615a91afba to your computer and use it in GitHub Desktop.
Save eugeneteo/2dcf781174615a91afba to your computer and use it in GitHub Desktop.
$ export AWS_SECRET_ACCESS_KEY=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcd
$ export AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRST
$ aws iam get-user
{
"User": {
"UserName": "emr",
"Path": "/",
"CreateDate": "2016-03-11T14:32:08Z",
"UserId": "AIDAID746LKJUJI5SGLOC",
"Arn": "arn:aws:iam::548698731369:user/emr"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment