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 load_credentials(self, descriptor):
      local_cred_location = self.get_file_path(descriptor)
      with open(local_cred_location, "rb") as cred_file:
          encrypted_credentials = cred_file.read()
  
      return Credentials(encrypted_credentials, True, self._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 2 for calling the LocalFileDriver obj's underlying member method code with example usage: obj.load_credentials(descriptor) and returns: Credentials