This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import jwt | |
from json import dumps | |
from requests import get | |
from botocore import UNSIGNED | |
from botocore.config import Config | |
from warrant.aws_srp import AWSSRP | |
from cryptography.hazmat.primitives import serialization | |
_PAM_DUMMY_PROMPT = '' |