Skip to content

Instantly share code, notes, and snippets.

@cktricky
cktricky / list_aws_user_policies.py
Created November 3, 2016 01:38
List User Policies in AWS
import boto3
from itertools import chain
import csv
'''
Goal)
Create a matrix (csv) that consists of (and is used in an excel file capacity):
*** List out each policy (Managed and Inline) that are attached to a user.