Skip to content

Instantly share code, notes, and snippets.

@blacklupo
blacklupo / aws-mfa
Created February 2, 2022 19:07
Script to automatically configure MFA temporary credentials in the [default] profile.
#!/usr/bin/env python3
__doc__ = """
Script to automatically configure MFA temporary credentials in the [default] profile.
"""
import sys
import os
import subprocess

Keybase proof

I hereby claim:

  • I am blacklupo on github.
  • I am pacosanse (https://keybase.io/pacosanse) on keybase.
  • I have a public key whose fingerprint is FBCC 3A9F 5059 D290 E913 4069 6967 75EF 097E 87D5

To claim this, I am signing this object: