Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am bamerrell on github.
* I am bamerrell (https://keybase.io/bamerrell) on keybase.
* I have a public key ASC7KSag91qhdVb9N--xz-qAQdNn77xjAp8DNy9NvLHoGQo
To claim this, I am signing this object:
@bamerrell
bamerrell / find_iam_user.py
Created December 15, 2015 19:07 — forked from OnlyInAmerica/find_iam_user.py
Find an AWS IAM user corresponding to an AWS Access Key
# Find the IAM username belonging to the TARGET_ACCESS_KEY
# Useful for finding IAM user corresponding to a compromised AWS credential
# Requirements:
#
# Environmental variables:
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
# python:
# boto