docstr: Takes the given credentials and saves them to AWS SSM Parameter store.
  
  Args:
      descriptor (str): Descriptor of the current Output
      credentials (Credentials): Credentials object to be saved into SSM Param Store
      kms_key_alias (str): KMS key alias for streamalert secrets
  
  Returns:
      bool: True on success, False otherwise.
docstr_tok: ["Takes","the","given","credentials","and","saves","them","to","AWS","SSM","Parameter","store",".","Args",":","descriptor","(","str",")",":","Descriptor","of","the","current","Output","credentials","(","Credentials",")",":","Credentials","object","to","be","saved","into","SSM","Param","Store","kms_key_alias","(","str",")",":","KMS","key","alias","for","streamalert","secrets","Returns",":","bool",":","True","on","success",",","False","otherwise","."]
code: def save_credentials(self, descriptor, credentials, kms_key_alias):
      """Takes the given credentials and saves them to AWS SSM Parameter store.
  
      Args:
          descriptor (str): Descriptor of the current Output
          credentials (Credentials): Credentials object to be saved into SSM Param Store
          kms_key_alias (str): KMS key alias for streamalert secrets
  
      Returns:
          bool: True on success, False otherwise.
      """
      # If the creds are encrypted, decrypt them as SSM will handle the encryption
      unencrypted_creds = (
          credentials.get_data_kms_decrypted()
          if credentials.is_encrypted()
          else credentials.data()
      )
  
      parameter_name = self._get_parameter_name(descriptor)
  
      return AwsSsm.put_parameter(
          parameter_name, unencrypted_creds, self._region, kms_key_alias
      )
  
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 4 for calling the SSMDriver obj's underlying member method code with example usage: obj.save_credentials(descriptor, credentials, kms_key_alias) and returns: AwsSsm