Automating AWS deployment with Python + Boto3
Quarantine currently has the following features:
- List IAM users
- Creat new IAM user/users
- Create access key (Activate & Deactivate)
- Delete access key
- Attach & detach IAM users policy/policies
- List policy/policies
- Delete IAM user/users
-
Create a virtual env & Install
-
python3 -m pip install -U Boto3
-
python3 -m pip install -U Click
-
python3 -m pip install -U Botostubs
-
python3 -m pip install -U Flake8
- python3 covid.py --profile list-users
- python3 covid.py --profile setup-user
- python3 covid.py --profile list-key
- python3 covid.py --profile deactivate-key
- python3 covid.py --profile delete-key
- python3 covid.py --profile setup-policy
- python3 covid.py --profile list-policy-arn
- python3 covid.py --profile detach-policyarn:aws::::here
- python3 covid.py --profile delete-user
- python3 covid.py --help