Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonw/iam-to-sqlite
Load Amazon IAM data into a SQLite database
https://github.com/simonw/iam-to-sqlite
Last synced: 4 months ago
JSON representation
Load Amazon IAM data into a SQLite database
- Host: GitHub
- URL: https://github.com/simonw/iam-to-sqlite
- Owner: simonw
- License: apache-2.0
- Created: 2021-03-24T00:16:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T00:20:26.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T09:26:21.005Z (4 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iam-to-sqlite
[](https://pypi.org/project/iam-to-sqlite/)
[](https://github.com/simonw/iam-to-sqlite/releases)
[](https://github.com/simonw/iam-to-sqlite/actions?query=workflow%3ATest)
[](https://github.com/simonw/iam-to-sqlite/blob/master/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](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) 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/activateOr if you are using `pipenv`:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest