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.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

aws_close_account-0.1.0-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.0.tar.gz.

File metadata

  • Download URL: aws_close_account-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 6929a6b1014df7d28016c58135935d1454038de3c91beaf00ce51936ecb7ba05
MD5 17b90011165b2edf8ae1ec5b7d8f7e98
BLAKE2b-256 78e62b08ee91afb98c0f5a5aa73f0bc2b339b321f035472597045395cb013d9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_close_account-0.1.0-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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e6c0a5e427c64968afe590d8ce375efe44f0d82bdf27a3c933d8df5a342f4ac6
MD5 cf6438b7e090c72296390ce63826e0b5
BLAKE2b-256 753ffa6a6893c58b9442523586a7b046c639f31c9d84f6b3ed33ed9ea582933d

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