class_docstr: Driver for fetching credentials that are saved locally on the filesystem.
class_docstr_tok: ["Driver","for","fetching","credentials","that","are","saved","locally","on","the","filesystem","."]
code: def __init__(self, region, service_name):
      self._region = region
      self._service_name = service_name
      self._temp_dir = self.get_local_credentials_temp_dir()
  
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 LocalFileDriver object from inherited base classes: CredentialsProvidingDriver, FileDescriptorProvider, CredentialsCachingDriver with example: obj = LocalFileDriver(region, service_name)