Load Amazon IAM data into a SQLite database
Install this tool using pip
:
$ pip install iam-to-sqlite
You will also need the aws
command-line tool. Here are the installation instructions for that.
Run this tool like so:
iam-to-sqlite iam.db
This will create a SQLite database called iam.db
containing the following tables:
Groups
Policies
Users
Roles
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd iam-to-sqlite
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest