iam-to-sqlite

Load Amazon IAM data into a SQLite database


License
Apache-2.0
Install
pip install iam-to-sqlite==0.1

Documentation

iam-to-sqlite

PyPI Changelog Tests License

Load Amazon IAM data into a SQLite database

Installation

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.

Usage

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

Development

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