in src/inventory/readers.py [0:0]
def _get_config_client(self, sts_response) -> boto3.client:
return boto3.client('config',
aws_access_key_id=sts_response['Credentials']['AccessKeyId'],
aws_secret_access_key=sts_response['Credentials']['SecretAccessKey'],
aws_session_token=sts_response['Credentials']['SessionToken'],
region_name=os.environ['AWS_REGION'])