Skip to content

Instantly share code, notes, and snippets.

@keniver
keniver / aws_federation_signin_with_api_access_key.py
Created January 13, 2023 04:20
Use the AWS API Access Key to login the AWS Web Console via the Federation Sign in.
import requests, json, sys, urllib
try:
import boto3
import botocore.config
import requests
except ModuleNotFoundError:
print("Don't forget to install boto3 and requests.")
sys.exit(1)