Skip to main content

Programmatically close an AWS account using Selenium

Project description

This is a simple Selenium script to close an AWS account via the web console. It can also reset the account password, in case it is not known.

Warning: This script does not ask for further confirmation - it is expressly for those that want to skip all those manual steps. So please TAKE CARE and uninstall it once you don’t need it anymore!

PyPI

Why

I am creating individual AWS accounts for my students at HM (https://hm.edu) Closing them at the end of term is boring and annoying, so I automated it.

Also see https://xkcd.com/1319/

Requirements

This program requires an installed selenium driver to run. It was tested using the selenium driver for firefox 0.30.0 installed from https://github.com/mozilla/geckodriver/releases .

Usage

The Browser window waits for you to input any captchas and possibly MFA Keys (not tested yet)

Quick Start:

aws-close-account my-account@example.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_close_account-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

aws_close_account-0.1.1-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aws_close_account-0.1.1.tar.gz.

File metadata

  • Download URL: aws_close_account-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for aws_close_account-0.1.1.tar.gz
Algorithm Hash digest
SHA256 736a1068db48ed1a5d121502046095a8bfb805b1d3533829016788da80d8d848
MD5 609b6e8485926289ef614822c7142c40
BLAKE2b-256 f59000cd97ca050fcfb8ee94eb0a773cc1492e29199ebb300bc723ef2618769e

See more details on using hashes here.

File details

Details for the file aws_close_account-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: aws_close_account-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for aws_close_account-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ebda264e90a9367facab8e75eba46c2a592ff0d9ffbd01c9e2003a6fea47994c
MD5 e0c0307bf686df137597cd2bc5e4a690
BLAKE2b-256 ff054c158c5a52aca1160b63693e20998553e27464043a2a283fb50f7f794e8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page