Skip to content

Instantly share code, notes, and snippets.

View aaronmelton's full-sized avatar

Aaron Melton aaronmelton

View GitHub Profile
@aaronmelton
aaronmelton / aws-set-mfa.py
Created March 12, 2018 14:45
Python script to improve two-factor authentication for AWS CLI.
#!/usr/bin/env python
#
# aws-set-mfa.py
# Copyright (C) 2017-2018 Aaron Melton <aaron(at)aaronmelton(dot)com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#