/AWS_Security

AWS_Booster_Project_2020

Primary LanguagePython

AWS_Booster_Project_2020

alt text

Photo by sebastiaan stam

Automating AWS deployment with Python + Boto3

Covid script and module. Deploys a small CI/CD to AWS.

Features

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

Necessary packages to be install it in your enviroment

  • 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

CLI command to run your code

  • 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

Help options

  • python3 covid.py --help