PViewer is a tool which will be used to find the conflicting policies for a AWS IAM user.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Install using pip:
pip3 install pviewer- Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default- Run
python3 -m pviewer -u username Where username is IAM username in AWS for which you have to find the overlapping policies- Clone this repo
- With HTTPS
git clone https://github.com/ankitsaini2609/PViewer.git
- With SSH (just use HTTPS if you aren't sure what SSH is)
git clone git@github.com:ankitsaini2609/PViewer.git
- Hop into the project directory
cd PViewer/pviewer- Install python3 packages
sudo pip3 install -r requirements.txt- Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default- Run it 🚀
python3 __main__.py -u username Where username is IAM username in AWS for which you have to find the overlapping policies.Two policies allowing you to write objects in the same S3 bucket. It will plot a graph and connecting overlapping policies as edges.
Distributed under the MIT License. See LICENSE for more information.
Ankit Saini
- Twitter - @d3afh3av3n
- Github - ankitsaini2609
- Medium - ankitsaini2609
- LinkedIn - ankitsaini2609

