Skip to content

Instantly share code, notes, and snippets.

View jcache's full-sized avatar

Josh Owens jcache

View GitHub Profile
@jcache
jcache / find_iam_user.py
Created August 10, 2018 18:01 — 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

Keybase proof

I hereby claim:

  • I am jcache on github.
  • I am jashcache (https://keybase.io/jashcache) on keybase.
  • I have a public key ASCpJkXD-CCi4feFdGALVe7-4p7UXd0InMdRrb8Uxl1iEgo

To claim this, I am signing this object: