python3 -mvenv env
source env/bin/activate
git clone https://github.com/nikhil-zadoo/iam-server-cert-cleanup.git
cd iam-server-certs-cleanup
pip install .
Have your ~/.aws/config file ready to be used with the target account.
AWS_PROFILE=<target profile in ~/.aws/config> python3 certs.py