class_docstr: Driver for fetching credentials that are stored in memory in file-like objects.
class_docstr_tok: ["Driver","for","fetching","credentials","that","are","stored","in","memory","in","file-like","objects","."]
code: def __init__(self, service_name, region):
      self._service_name = service_name
      self._region = region
  
imports: import json
  import os
  import shutil
  import tempfile
  from abc import abstractmethod
  from botocore.exceptions import ClientError
  from streamalert.shared.helpers.aws_api_client import AwsKms, AwsSsm
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 to create a new SpooledTempfileDriver object from inherited base classes: CredentialsProvidingDriver, FileDescriptorProvider with example: obj = SpooledTempfileDriver(service_name, region)