Untitled
session = boto3.Session(profile_name=os.getenv('AWS_PROFILE')) credentials = session.get_credentials() client = boto3.client( 's3', aws_access_key_id=credentials.access_key, aws_secret_access_key=credentials.secret_key, aws_session_token=credentials.token )